From 9827e6ad849a61d4505f3991f34f0758b2892697 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 16:53:51 +0100 Subject: [PATCH] The favorite activity is an activity. --- plugins/Favorite/classes/Fave.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index 916620a34c..68c36dfaef 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -49,6 +49,7 @@ class Fave extends Managed_DataObject */ static function addNew(Profile $actor, Notice $target) { $act = new Activity(); + $act->type = ActivityObject::ACTIVITY; $act->verb = ActivityVerb::FAVORITE; $act->time = time(); $act->id = self::newUri($actor, $target, common_sql_date($act->time));