From 7f3a1f417eda6f0c061ecfb5605bf293f1f47564 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 11 Sep 2023 11:39:29 +0200 Subject: [PATCH] do not display 0 tags found --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + } } } }