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