From 8749c470ca86be510f952d381fefcd9e00755278 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 12 Jan 2015 12:06:19 +0100 Subject: [PATCH] ArrayWrapper spookiness, must make sure it's a Notice there... --- plugins/Favorite/classes/Fave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));