do not display 0 tags found

This commit is contained in:
plegall
2023-09-11 11:39:29 +02:00
parent 09979e8a1e
commit 7f3a1f417e
+4
View File
@@ -459,10 +459,14 @@ SELECT
);
$tags_found[] = sprintf('<a href="%s">%s</a>', $url, $tag['name']);
}
if (count($tags_found) > 0)
{
$template->assign('TAGS_FOUND', $tags_found);
}
}
}
}
if ('categories' == $page['section'] and isset($page['category']) and !isset($page['combined_categories']))
{