From: Ævar Arnfjörð Bjarmason Date: Tue, 28 Jun 2005 15:02:22 +0000 (+0000) Subject: * Consistant style in buildSidebar() X-Git-Tag: 1.5.0beta2~161 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6ec373be691e9194f22b68a7b51b77837121d10e;p=lhc%2Fweb%2Fwiklou.git * Consistant style in buildSidebar() --- diff --git a/includes/Skin.php b/includes/Skin.php index 5c266af64c..eced385591 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1308,9 +1308,8 @@ END; if (strpos($line, '|') !== false) { // sanity check $line = explode( '|' , trim($line, '* '), 2 ); $link = wfMsgForContent( $line[0] ); - if( $link == '-' ) { + if ($link == '-') continue; - } $bar[$heading][] = array( 'text' => wfMsg( $line[1] ), 'href' => $this->makeInternalOrExternalUrl( $link ),