From 0860791f3fedf4a2862f83687d6469c7d21a3de5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 15 Dec 2008 08:28:06 -0500 Subject: [PATCH] bug with remote subscriptions and blocks darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz --- actions/finishremotesubscribe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }