From dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Thu, 14 Feb 2013 20:19:27 +0000 Subject: small correction of lang report page r2073 --- langs/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'langs/report.php') diff --git a/langs/report.php b/langs/report.php index 69c050849..f33c10c1c 100644 --- a/langs/report.php +++ b/langs/report.php @@ -200,6 +200,7 @@ } $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; @@ -209,7 +210,6 @@ foreach ($chunks as $chunk) { $table_body = array_merge($table_body, $chunk, array(count($chunk) > 4 ? ' File' . $thfiles : '')); } - array_unshift($languages, $en_language); // unshift English back $s = implode($table_body); echo <<