do not display 0 tags found

This commit is contained in:
plegall 2023-09-11 11:39:29 +02:00
parent 09979e8a1e
commit 7f3a1f417e

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);
}
}
}
}