From 1aac56bb8322e570d4ff76a96a815df1652683c8 Mon Sep 17 00:00:00 2001 From: Jan Paul Posma Date: Sun, 27 Feb 2011 15:30:35 +0000 Subject: [PATCH] Fixed call per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82891#c14483 --- Cite_body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cite_body.php b/Cite_body.php index cf67f082..00dac82b 100644 --- a/Cite_body.php +++ b/Cite_body.php @@ -1019,7 +1019,7 @@ class Cite { * page should be reparsed, so we return false in that case. */ function checkAnyRefs( &$output ) { - return ( empty( $this->mRefs ) ); + return ( count( $this->mRefs ) <= 0 ); } /**