summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/remotesubscribe.php')
-rw-r--r--actions/remotesubscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index ca69b174e..8f9dd3cb9 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -78,7 +78,7 @@ class RemotesubscribeAction extends Action {
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
$yadis = Auth_Yadis_Yadis::discover($profile, $fetcher);
- if (!$yadis) {
+ if (!$yadis || $yadis->fail) {
$this->show_form(_t('Not a valid profile URL (no YADIS document).'));
return;
}