]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ArrayWrapper spookiness, must make sure it's a Notice there...
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 11:06:19 +0000 (12:06 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 11:06:19 +0000 (12:06 +0100)
plugins/Favorite/classes/Fave.php

index 6acfb380149dab1daf8fd46dbb4f1347ad1131b5..2e60defa4f9f9ad2761f3c71caf5f0cc874d603b 100644 (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));