]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better output for shares
authorEvan Prodromou <evan@e14n.com>
Wed, 26 Jun 2013 02:26:27 +0000 (22:26 -0400)
committerEvan Prodromou <evan@e14n.com>
Wed, 26 Jun 2013 02:26:27 +0000 (22:26 -0400)
lib/activity.php

index cd2383808d3fb3a0cfa5fc425c0af88c0b1b751a..5074b6d205cdff4e2102f554cfe0f561170b2540 100644 (file)
@@ -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];
                 }
             }