summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-30 14:41:05 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-30 14:41:05 -0400
commitba334c2c660e63497ff3d2c8928e99ad4881be08 (patch)
tree2cc2fd3b10fea09dce2a40a0d499f0b4ee45789c
parent2e707f5a2c49ec854fdaa99004b3edf9b7ced5c9 (diff)
typo in checking for YADIS failure
darcs-hash:20080530184105-84dde-6d55e2bf320ea5b71d657edb756c4ea330bd438f.gz
-rw-r--r--actions/remotesubscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index e225fb683..a77b0d644 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;
}