From d3dd804ddf55e7aba9533a180a5d9c98392b03df Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 30 May 2008 14:11:03 -0400 Subject: [PATCH] check to see if XRDS discovery failed darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz --- actions/remotesubscribe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5