From 02a49171d56c3a34d1f57169886134477f0e48d6 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Mon, 11 May 2015 19:25:16 -0400 Subject: [PATCH] #233 Fix panels when number of rows in top/latest are 0 --- inc/knowledgebase_functions.inc.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/knowledgebase_functions.inc.php b/inc/knowledgebase_functions.inc.php index daf74b74..727207b9 100644 --- a/inc/knowledgebase_functions.inc.php +++ b/inc/knowledgebase_functions.inc.php @@ -97,7 +97,6 @@ function hesk_kbTopArticles($how_many, $index = 1) -  '; echo ''; } ?> @@ -129,7 +129,6 @@ function hesk_kbTopArticles($how_many, $index = 1) $colspan = 'colspan="2"'; } echo ''; - return true; } /* We have some results, print them out */ @@ -155,6 +154,8 @@ function hesk_kbTopArticles($how_many, $index = 1)
  ' . $hesklang['views'] . '
'.$hesklang['noa'].'
'.$hesklang['noa'].''; - return true; } /* We have some results, print them out */ @@ -261,6 +261,8 @@ function hesk_kbLatestArticles($how_many, $index = 1)