Missed a $user->id to $profile->id translation

This commit is contained in:
Mikael Nordfeldth 2014-05-06 15:43:06 +02:00
parent c279a33feb
commit 869ca2d20b

View 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) {