typo in checking for YADIS failure

darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
This commit is contained in:
Evan Prodromou 2008-05-30 14:41:05 -04:00
parent 2e707f5a2c
commit ba334c2c66

View File

@ -80,7 +80,7 @@ class RemotesubscribeAction extends Action {
common_debug('remotesubscribe.php: XRDS discovery result: "'.print_r($yadis, TRUE) .'"'); 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).')); $this->show_form(_t('Not a valid profile URL (no YADIS document).'));
return; return;
} }