From ce7c957c2082769f06d82231dd4352eaca969a39 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sat, 16 Feb 2013 09:27:40 +0000 Subject: finalizing correction of lang report page r2073 --- langs/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'langs') diff --git a/langs/report.php b/langs/report.php index f33c10c1c..a113aa109 100644 --- a/langs/report.php +++ b/langs/report.php @@ -200,7 +200,6 @@ } $en_language = array_shift($languages); // shift English for proper sorting krsort($languages, SORT_NUMERIC); - array_unshift($languages, $en_language); // unshift English back $enFiles = array_map(function ($e) { return str_replace('en/', '', $e); }, $enFiles); $thfiles = '' . implode('', $enFiles) . '' . PHP_EOL; @@ -210,6 +209,7 @@ foreach ($chunks as $chunk) { $table_body = array_merge($table_body, $chunk, array(count($chunk) > 4 ? ' File' . $thfiles : '')); } + array_unshift($table_body, $en_language); // unshift English back $s = implode($table_body); echo <<