git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nieuws: hide empty tag lists
[minimedit.git]
/
nieuws
/
index.php
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)
);
}
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');
}
if ($replyform) {
print placeholder_include('nieuws/replies');