summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-13 16:22:42 -0400
committerEvan Prodromou <evan@status.net>2010-09-13 16:22:42 -0400
commit9771a7193ff14a23bcf4d34523441416c8ebfad7 (patch)
treeb1a4d7dabd1008c1b0c81b963a314c333b3f9535
parent4338bc1ee71c79a6ae55e30157e9bba078acca5d (diff)
bug in time and object handling in Subscription::asActivity
-rw-r--r--classes/Subscription.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Subscription.php b/classes/Subscription.php
index 0044699a3..1287499fa 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;
}