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));