diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-30 14:11:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-30 14:11:03 -0400 |
commit | d3dd804ddf55e7aba9533a180a5d9c98392b03df (patch) | |
tree | abd27f9528d556ac8e2b7d100756f61c6aaf94d7 /actions | |
parent | 3a20f1202b032b755f657d42379fe1137cf7c699 (diff) |
check to see if XRDS discovery failed
darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/remotesubscribe.php | 2 |
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; } |