From e197696c5839f36b34c4b75e64ec25759ab12a4e Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 7 Jun 2004 08:27:13 +0000 Subject: [PATCH] Don't generate article list if we have no article to show --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 6f4f2ee8c4..9437fbf11e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -561,7 +561,7 @@ cl_sortkey" ; } $r .= ""; - } else { + } elseif ( count ( $articles ) > 0) { // for short lists of articles in categories. $ti = $this->mTitle->getText() ; -- 2.20.1