From f259876e9675feb32a61e6dc70a018f0183314d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 9 Apr 2005 07:52:04 +0000 Subject: [PATCH] * Removed redundant code: LanguageZh_tw.php = 0; for (LanguageZh_tw.php = 0; ... ) --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.20.1