From: Mischa POSLAWSKY Date: Mon, 17 Sep 2018 15:44:45 +0000 (+0200) Subject: nieuws: hide empty tag lists X-Git-Tag: v3.7^0 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/feffbe20164d8462d06cef8024609d3fad50e053 nieuws: hide empty tag lists Useless indicator if not used. --- diff --git a/nieuws/index.php b/nieuws/index.php index 18f4466..746baec 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -31,9 +31,11 @@ if ($page and !is_numeric($page)) { ucfirst($tagname) ); } - printf('

Tags: %s

'."\n", - implode("\n\t", $taglist) - ); + if ($taglist) { + printf('

Tags: %s

'."\n", + implode("\n\t", $taglist) + ); + } } if ($replyform) { print placeholder_include('nieuws/replies');