From 7877e86506877c92165602d322e587105ffe4b7d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 18 Nov 2008 14:22:27 -0500 Subject: [PATCH] check URI before sending darcs-hash:20081118192227-84dde-3318e91d2366f3cb70bc795e313072f8e81a190c.gz --- actions/remotesubscribe.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 2c932178fa..0adcc08481 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);