From: Ævar Arnfjörð Bjarmason Date: Sat, 9 Apr 2005 07:52:04 +0000 (+0000) Subject: * Removed redundant code: LanguageZh_tw.php = 0; for (LanguageZh_tw.php = 0; ... ) X-Git-Tag: 1.5.0alpha1~328 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=f259876e9675feb32a61e6dc70a018f0183314d1;p=lhc%2Fweb%2Fwiklou.git * Removed redundant code: LanguageZh_tw.php = 0; for (LanguageZh_tw.php = 0; ... ) --- diff --git a/includes/Parser.php b/includes/Parser.php index 86ad3a8d84..0cd3908862 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1849,7 +1849,7 @@ class Parser # merged with the next arg because the '|' character between belongs # to the link syntax and not the template parameter syntax. $argc = count($args); - $i = 0; + for ( $i = 0; $i < $argc-1; $i++ ) { if ( substr_count ( $args[$i], '[[' ) != substr_count ( $args[$i], ']]' ) ) { $args[$i] .= '|'.$args[$i+1];