diff options
Diffstat (limited to 'langs/report.php')
-rw-r--r-- | langs/report.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<th>' . implode('</th><th>', $enFiles) . '</th>' . PHP_EOL; @@ -209,7 +210,6 @@ foreach ($chunks as $chunk) { $table_body = array_merge($table_body, $chunk, array(count($chunk) > 4 ? '<tr><th> </th><th>File</th>' . $thfiles : '')); } - array_unshift($languages, $en_language); // unshift English back $s = implode($table_body); echo <<<S |