From feffbe20164d8462d06cef8024609d3fad50e053 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 17 Sep 2018 17:44:45 +0200 Subject: [PATCH] nieuws: hide empty tag lists Useless indicator if not used. --- nieuws/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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'); -- 2.30.0