From eb38f3f47460bfb00af3dcae815720b2970a31eb Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Aug 2014 16:34:36 -0700 Subject: support title and description (and dates which were done earlier) for friendica photo import --- include/photos.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/photos.php') 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); -- cgit v1.2.3