From: Chad Horohoe Date: Wed, 27 Jan 2010 00:09:25 +0000 (+0000) Subject: Make isSyndicated() return a boolean like its name, documentation and callers suggest... X-Git-Tag: 1.31.0-rc.0~38093 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=34cc1e6b6a9c05a8ba2fa49b4f1d64f724c7ce38;p=lhc%2Fweb%2Fwiklou.git Make isSyndicated() return a boolean like its name, documentation and callers suggest it should --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f95c6e5e49..d431daa650 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -438,7 +438,7 @@ class OutputPage { * * @return Boolean */ - public function isSyndicated() { return count($this->mFeedLinks); } + public function isSyndicated() { return count($this->mFeedLinks) > 0; } public function getFeedAppendQuery() { return $this->mFeedLinksAppendQuery; }