bug with remote subscriptions and blocks

darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz
This commit is contained in:
Evan Prodromou 2008-12-15 08:28:06 -05:00
parent 3e70bfa287
commit 0860791f3f

View File

@ -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;
}