From: Erik Moeller Date: Mon, 31 May 2004 22:19:26 +0000 (+0000) Subject: do not generate category html if no category links exist X-Git-Tag: 1.5.0alpha1~3109 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=1b3674327c4841c56f7007abbf92a7d631f99214;p=lhc%2Fweb%2Fwiklou.git do not generate category html if no category links exist --- diff --git a/includes/Skin.php b/includes/Skin.php index 873be4147b..be19c19a96 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -373,7 +373,10 @@ class Skin { } function getCategories() { - return ""; + $catlinks=$this->getCategoryLinks(); + if(!empty($catlinks)) { + return ""; + } } function getQuickbarCompensator( $rows = 1 )