aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/lang_migrate_help_lang.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop/lang_migrate_help_lang.php')
-rw-r--r--phpBB/develop/lang_migrate_help_lang.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/lang_migrate_help_lang.php b/phpBB/develop/lang_migrate_help_lang.php
index d523493c83..d5a2573ee0 100644
--- a/phpBB/develop/lang_migrate_help_lang.php
+++ b/phpBB/develop/lang_migrate_help_lang.php
@@ -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);
}