From 557105b86d569de1da53ea6a4ba217a006e225ca Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 25 Jun 2013 22:26:27 -0400 Subject: [PATCH] Better output for shares --- lib/activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } }