From: Antoine Musso Date: Thu, 3 Mar 2005 13:39:31 +0000 (+0000) Subject: Fix #1622 : remove trailing '>' when using category browser. X-Git-Tag: 1.5.0alpha1~680 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=2fa5c52b5f3d0206093cbf1be968f15c891a3e79;p=lhc%2Fweb%2Fwiklou.git Fix #1622 : remove trailing '>' when using category browser. --- 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; }