From: Evan Prodromou Date: Wed, 26 Jun 2013 02:26:27 +0000 (-0400) Subject: Better output for shares X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37bbb96e1b2a46916e988497b128d5a0e122e08e;p=quix0rs-gnu-social.git Better output for shares --- diff --git a/lib/activity.php b/lib/activity.php index cd2383808d..5074b6d205 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -391,7 +391,7 @@ class Activity // Sharing a post activity is more like sharing the original object if ($this->verb == 'share' && $object->verb == 'post') { // XXX: Here's one for the obfuscation record books - $object = $object->object; + $object = $object->objects[0]; } }