do not display 0 tags found

This commit is contained in:
plegall committed 2023-09-11 11:39:29 +02:00
1 parent 09979e8a1e
commit 7f3a1f417e
1 file changed
+5 -1
+5 -1
View File
@@ -459,7 +459,11 @@ SELECT
);
$tags_found[] = sprintf('<a href="%s">%s</a>', $url, $tag['name']);
}
$template->assign('TAGS_FOUND', $tags_found);
if (count($tags_found) > 0)
{
$template->assign('TAGS_FOUND', $tags_found);
}
}
}
}