summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/remotesubscribe.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index 2c932178f..0adcc0848 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -136,6 +136,11 @@ class RemotesubscribeAction extends Action {
$this->show_form(_('That\'s a local profile! Login to subscribe.'));
return;
}
+
+ if (User::staticGet('uri', omb_local_id($omb[OAUTH_ENDPOINT_REQUEST]))) {
+ $this->show_form(_('That\'s a local profile! Login to subscribe.'));
+ return;
+ }
list($token, $secret) = $this->request_token($omb);