From 9771a7193ff14a23bcf4d34523441416c8ebfad7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 13 Sep 2010 16:22:42 -0400 Subject: [PATCH] bug in time and object handling in Subscription::asActivity --- classes/Subscription.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5