diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index ca69b174e4..8f9dd3cb9f 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; }