]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
typo in checking for YADIS failure
authorEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:41:05 +0000 (14:41 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:41:05 +0000 (14:41 -0400)
darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz

actions/remotesubscribe.php

index e225fb683f284c9ec8a3d16b21b20d942afa0a12..a77b0d6449316fe5753faa94ff65b437ccaf85af 100644 (file)
@@ -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;
                }