forked from GNUsocial/gnu-social
ArrayWrapper spookiness, must make sure it's a Notice there...
This commit is contained in:
parent
66044b7782
commit
8749c470ca
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user