git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e6d26c2
)
nieuws: hide empty tag lists
v3.7
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 17 Sep 2018 15:44:45 +0000
(17:44 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 17 Sep 2018 19:01:38 +0000
(21:01 +0200)
Useless indicator if not used.
nieuws/index.php
patch
|
blob
|
history
diff --git
a/nieuws/index.php
b/nieuws/index.php
index 18f44660d24312bf194fdeea9db70752d8070e96..746baec4869bd6f7be2abe1223fefe78cb1a54bf 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-31,9
+31,11
@@
if ($page and !is_numeric($page)) {
ucfirst($tagname)
);
}
- printf('<p class="tags"><strong>Tags:</strong> %s</p>'."\n",
- implode("\n\t", $taglist)
- );
+ if ($taglist) {
+ printf('<p class="tags"><strong>Tags:</strong> %s</p>'."\n",
+ implode("\n\t", $taglist)
+ );
+ }
}
if ($replyform) {
print placeholder_include('nieuws/replies');