aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-13 11:23:40 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-13 11:23:40 +0100
commite1ddee6c26f149e7fd5262b5d45217af81f4ec64 (patch)
tree4a36b8380ecbf94e521c4c81117842d252b87977
parent86b550e43e91f39084398bf3540ec2bd3da5d179 (diff)
downloadvolse-hubzilla-e1ddee6c26f149e7fd5262b5d45217af81f4ec64.tar.gz
volse-hubzilla-e1ddee6c26f149e7fd5262b5d45217af81f4ec64.tar.bz2
volse-hubzilla-e1ddee6c26f149e7fd5262b5d45217af81f4ec64.zip
fix sharing of photo items
-rw-r--r--mod/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/share.php b/mod/share.php
index 7ed6cf9a6..198a6b210 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -45,7 +45,7 @@ function share_init(&$a) {
$is_photo = (($r[0]['obj_type'] === ACTIVITY_OBJ_PHOTO) ? true : false);
if($is_photo) {
$object = json_decode($r[0]['object'],true);
- $photo_bb = $object['bbcode'];
+ $photo_bb = $object['body'];
}
if (strpos($r[0]['body'], "[/share]") !== false) {