aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-14 02:34:18 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-14 02:34:18 -0800
commitdcf7946673fd57325fc848df8f8cea7a84cc35b6 (patch)
treecc654a56b59e26a7bc6a372a609226b9f5c7ef01 /include/photos.php
parentfdd2da905a27fab838aa34ef7baf0ee2c5c3c5f7 (diff)
downloadvolse-hubzilla-dcf7946673fd57325fc848df8f8cea7a84cc35b6.tar.gz
volse-hubzilla-dcf7946673fd57325fc848df8f8cea7a84cc35b6.tar.bz2
volse-hubzilla-dcf7946673fd57325fc848df8f8cea7a84cc35b6.zip
revert include/photos.php:L380
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php
index 798b89b54..15aa8ee17 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'] = (($args['body']) ? $body . "\r\n" . $args['body'] : $body);
+ $arr['body'] = (($object) ? $args['body'] : $body . "\r\n" . $args['body']);
// this one is tricky because the item and the photo have the same permissions, those of the photo.