]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
Better output for shares
[quix0rs-gnu-social.git] / 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];
                 }
             }