From 2fa5c52b5f3d0206093cbf1be968f15c891a3e79 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 3 Mar 2005 13:39:31 +0000 Subject: [PATCH] Fix #1622 : remove trailing '>' when using category browser. --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 9baec636cd..13ea87dac5 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -427,8 +427,8 @@ class Skin extends Linker { } # add our current element to the list $eltitle = Title::NewFromText($element); - # FIXME : should be makeLink() [AV] - $return .= $skin->makeLinkObj( $eltitle, $eltitle->getText() ) . ' > '; + if(!empty($parent)) $return .= ' > '; + $return .= $skin->makeLinkObj( $eltitle, $eltitle->getText() ) ; } return $return; } -- 2.20.1