aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-13 16:34:36 -0700
committerfriendica <info@friendica.com>2014-08-13 16:34:36 -0700
commiteb38f3f47460bfb00af3dcae815720b2970a31eb (patch)
tree13c7efd787b705e73e94676347ab2f9fc10f1afc /include/photos.php
parent041aff36b7feb4983a2cc5faed79e54863e06913 (diff)
downloadvolse-hubzilla-eb38f3f47460bfb00af3dcae815720b2970a31eb.tar.gz
volse-hubzilla-eb38f3f47460bfb00af3dcae815720b2970a31eb.tar.bz2
volse-hubzilla-eb38f3f47460bfb00af3dcae815720b2970a31eb.zip
support title and description (and dates which were done earlier) for friendica photo import
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/photos.php b/include/photos.php
index bd61e555d..06a99457a 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -175,6 +175,10 @@ function photo_upload($channel, $observer, $args) {
$p['created'] = $args['created'];
if($args['edited'])
$p['edited'] = $args['edited'];
+ if($args['title'])
+ $p['title'] = $args['title'];
+ if($args['description'])
+ $p['desciprion'] = $args['description'];
$r1 = $ph->save($p);