From: Mikael Nordfeldth Date: Mon, 12 Jan 2015 11:06:19 +0000 (+0100) Subject: ArrayWrapper spookiness, must make sure it's a Notice there... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8749c470ca86be510f952d381fefcd9e00755278;p=quix0rs-gnu-social.git ArrayWrapper spookiness, must make sure it's a Notice there... --- diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index 6acfb38014..2e60defa4f 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -159,7 +159,7 @@ class Fave extends Managed_DataObject return $act; } - static function existsForProfile(Notice $notice, Profile $scoped) + static function existsForProfile($notice, Profile $scoped) { $fave = self::pkeyGet(array('user_id'=>$scoped->id, 'notice_id'=>$notice->id));