summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/remotesubscribe.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index 64b220383..0db58ec9c 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -85,6 +85,13 @@ class RemotesubscribeAction extends Action {
return;
}
+ if (!$yadis->xrds) {
+ $this->show_form(_t('Not a valid profile URL (no XRDS defined).'));
+ return;
+ }
+
+ common_debug('remotesubscribe.php: XRDS is "'.print_r($yadis->xrds,TRUE).'"');
+
$omb = $this->getOmb($yadis);
if (!$omb) {