diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php index df5fe64760..97f9720430 100644 --- a/actions/finishremotesubscribe.php +++ b/actions/finishremotesubscribe.php @@ -182,7 +182,7 @@ class FinishremotesubscribeAction extends Action { } } - if ($user->hasBlocked($remote->id)) { + if ($user->hasBlocked($profile)) { $this->client_error(_('That user has blocked you from subscribing.')); return; }