aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions_html.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index b217f01d9..3afed2322 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -529,6 +529,10 @@ function get_html_tag_selection(
{
global $conf;
+ if (count ($tags) == 0 )
+ {
+ return '';
+ }
$output = '<ul class="tagSelection">';
foreach ($tags as $tag)
{