ArrayWrapper spookiness, must make sure it's a Notice there...

This commit is contained in:
Mikael Nordfeldth 2015-01-12 12:06:19 +01:00
parent 66044b7782
commit 8749c470ca
1 changed files with 1 additions and 1 deletions

View File

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