From 34cc1e6b6a9c05a8ba2fa49b4f1d64f724c7ce38 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 27 Jan 2010 00:09:25 +0000 Subject: [PATCH] Make isSyndicated() return a boolean like its name, documentation and callers suggest it should --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1