From: Mikael Nordfeldth Date: Tue, 6 May 2014 13:43:06 +0000 (+0200) Subject: Missed a $user->id to $profile->id translation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=869ca2d20b04bec3c741a4b608e558a403e249de;p=quix0rs-gnu-social.git Missed a $user->id to $profile->id translation --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 5a17198d69..0befe150ab 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -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) {