From ba334c2c660e63497ff3d2c8928e99ad4881be08 Mon Sep 17 00:00:00 2001
From: Evan Prodromou <evan@prodromou.name>
Date: Fri, 30 May 2008 14:41:05 -0400
Subject: [PATCH] typo in checking for YADIS failure

darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
---
 actions/remotesubscribe.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index e225fb683f..a77b0d6449 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -80,7 +80,7 @@ class RemotesubscribeAction extends Action {
 
 		common_debug('remotesubscribe.php: XRDS discovery result: "'.print_r($yadis, TRUE) .'"');
 					 
-		if (!$yadis || $yadis->fail) {
+		if (!$yadis || $yadis->failed) {
 			$this->show_form(_t('Not a valid profile URL (no YADIS document).'));
 			return;
 		}
-- 
2.39.5