From 869ca2d20b04bec3c741a4b608e558a403e249de Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 6 May 2014 15:43:06 +0200 Subject: [PATCH] Missed a $user->id to $profile->id translation --- plugins/OStatus/OStatusPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5