From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 15:53:51 +0000 (+0100) Subject: The favorite activity is an activity. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9827e6ad849a61d4505f3991f34f0758b2892697;p=quix0rs-gnu-social.git The favorite activity is an activity. --- 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));