]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bug in time and object handling in Subscription::asActivity
authorEvan Prodromou <evan@status.net>
Mon, 13 Sep 2010 20:22:42 +0000 (16:22 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 13 Sep 2010 20:22:42 +0000 (16:22 -0400)
classes/Subscription.php

index 0044699a360ce96301019058957a77519c0c1507..1287499fadc1d8be090978076eaccb565cdf84dc 100644 (file)
@@ -256,8 +256,8 @@ class Subscription extends Memcached_DataObject
                                $subscriber->getBestName(),
                                $subscribed->getBestName());
 
-        $act->actor   = ActivityObject::fromProfile($subscriber);
-        $act->object  = ActivityObject::fromProfile($subscribed);
+        $act->actor     = ActivityObject::fromProfile($subscriber);
+        $act->objects[] = ActivityObject::fromProfile($subscribed);
 
         return $act;
     }