]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Missed a $user->id to $profile->id translation
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 6 May 2014 13:43:06 +0000 (15:43 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 6 May 2014 13:43:06 +0000 (15:43 +0200)
plugins/OStatus/OStatusPlugin.php

index 5a17198d6928979ac676f2ba6ff3c598cb11f188..0befe150ab6ae379f4361630a9f2eae0cc3d4c46 100644 (file)
@@ -912,7 +912,7 @@ class OStatusPlugin extends Plugin
             return true;
         }
 
-        $fav = Fave::pkeyGet(array('user_id' => $user->id,
+        $fav = Fave::pkeyGet(array('user_id' => $profile->id,
                                    'notice_id' => $notice->id));
 
         if (!$fav instanceof Fave) {