From: Antoine Musso Date: Mon, 7 Jun 2004 08:27:13 +0000 (+0000) Subject: Don't generate article list if we have no article to show X-Git-Tag: 1.5.0alpha1~3002 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=e197696c5839f36b34c4b75e64ec25759ab12a4e;p=lhc%2Fweb%2Fwiklou.git Don't generate article list if we have no article to show --- 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() ;