* Consistant style in buildSidebar()
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 28 Jun 2005 15:02:22 +0000 (15:02 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 28 Jun 2005 15:02:22 +0000 (15:02 +0000)
includes/Skin.php

index 5c266af..eced385 100644 (file)
@@ -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 ),