diff options
-rw-r--r-- | actions/finishremotesubscribe.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php index df5fe6476..97f972043 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; } |