From 1b3674327c4841c56f7007abbf92a7d631f99214 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Mon, 31 May 2004 22:19:26 +0000 Subject: [PATCH] do not generate category html if no category links exist --- includes/Skin.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ) -- 2.20.1