From: Evan Prodromou Date: Mon, 13 Sep 2010 20:22:42 +0000 (-0400) Subject: bug in time and object handling in Subscription::asActivity X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9771a7193ff14a23bcf4d34523441416c8ebfad7;p=quix0rs-gnu-social.git bug in time and object handling in Subscription::asActivity --- diff --git a/classes/Subscription.php b/classes/Subscription.php index 0044699a36..1287499fad 100644 --- a/classes/Subscription.php +++ b/classes/Subscription.php @@ -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; }