]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bug with remote subscriptions and blocks
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Dec 2008 13:28:06 +0000 (08:28 -0500)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Dec 2008 13:28:06 +0000 (08:28 -0500)
darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz

actions/finishremotesubscribe.php

index df5fe647601c7b37e09ce2337167fb064b2b75e1..97f9720430dcd581d0b55cf08637b50eae8c92f9 100644 (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;
         }