aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2016-01-14 09:30:50 +0100
committermrjive <mrjive@mrjive.it>2016-01-14 09:30:50 +0100
commit5c937c5642e87750b55e15c9d9c1b863e5d5cfc1 (patch)
tree5ef2c09452b4d511f895d0fa3164fb614307f8c4 /mod/share.php
parent3206a46a9297dcbdc56c25512767dfb5bf66837b (diff)
parente500a08f152d641f60c7146c6a290042bdd37a73 (diff)
downloadvolse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.tar.gz
volse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.tar.bz2
volse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.zip
Merge pull request #15 from redmatrix/master
updating from original codebase
Diffstat (limited to 'mod/share.php')
-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) {