dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725829d
)
do not generate category html if no category links exist
author
Erik Moeller
<erik@users.mediawiki.org>
Mon, 31 May 2004 22:19:26 +0000
(22:19 +0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Mon, 31 May 2004 22:19:26 +0000
(22:19 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
873be41
..
be19c19
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-373,7
+373,10
@@
class Skin {
}
function getCategories() {
- return "<p class='catlinks'>" . $this->getCategoryLinks() . "</p>";
+ $catlinks=$this->getCategoryLinks();
+ if(!empty($catlinks)) {
+ return "<p class='catlinks'>{$catlinks}</p>";
+ }
}
function getQuickbarCompensator( $rows = 1 )