1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[ticket/13844] Fix language file so the tests pass

PHPBB3-13844
This commit is contained in:
Joas Schilling
2015-05-16 23:13:50 +02:00
parent f6c246f889
commit 80be642a0b
3 changed files with 6 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ function write_help($help, array $lang)
global $phpbb_root_path;
$fp = fopen($phpbb_root_path . 'language/en/help/' . $help . '.php', 'wb');
fwrite($fp, get_language_file_header());
fwrite($fp, '$lang = array(' . "\n");
fwrite($fp, '$lang = array_merge($lang, array(' . "\n");
$last_key = '';
ksort($lang);
@@ -270,7 +270,7 @@ function write_help($help, array $lang)
$last_key = $key_start;
}
fwrite($fp, ');' . "\n");
fwrite($fp, '));' . "\n");
#fwrite($fp, $lang);
fclose($fp);
}