diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-13 19:15:42 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-13 19:15:42 -0800 |
commit | fdd2da905a27fab838aa34ef7baf0ee2c5c3c5f7 (patch) | |
tree | 0b15e6b628627ddfd1ed2709bebc2e7e8a7e9e83 /include/photos.php | |
parent | 2cceca49e9a0666ceaeb5758603a6ec3e5d75171 (diff) | |
download | volse-hubzilla-fdd2da905a27fab838aa34ef7baf0ee2c5c3c5f7.tar.gz volse-hubzilla-fdd2da905a27fab838aa34ef7baf0ee2c5c3c5f7.tar.bz2 volse-hubzilla-fdd2da905a27fab838aa34ef7baf0ee2c5c3c5f7.zip |
more work on api media uploads
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php index c7360a956..798b89b54 100644 --- a/include/photos.php +++ b/include/photos.php @@ -377,7 +377,7 @@ function photo_upload($channel, $observer, $args) { $arr['item_thread_top'] = 1; $arr['item_private'] = intval($acl->is_private()); $arr['plink'] = z_root() . '/channel/' . $channel['channel_address'] . '/?f=&mid=' . $arr['mid']; - $arr['body'] = (($object) ? $args['body'] : $body . "\r\n" . $args['body']); + $arr['body'] = (($args['body']) ? $body . "\r\n" . $args['body'] : $body); // this one is tricky because the item and the photo have the same permissions, those of the photo. |