summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-15 08:28:06 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-15 08:28:06 -0500
commit0860791f3fedf4a2862f83687d6469c7d21a3de5 (patch)
tree0076b0f8609dfba76716e31a98a68e04b929b74f /actions
parent3e70bfa28713bc4562c2e615fddfd5310d22fc33 (diff)
bug with remote subscriptions and blocks
darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/finishremotesubscribe.php2
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;
}