diff --git a/index.php b/index.php index 4371a494b..4bf8f6e3e 100644 --- a/index.php +++ b/index.php @@ -459,7 +459,11 @@ SELECT ); $tags_found[] = sprintf('%s', $url, $tag['name']); } - $template->assign('TAGS_FOUND', $tags_found); + + if (count($tags_found) > 0) + { + $template->assign('TAGS_FOUND', $tags_found); + } } } }