aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/install/install_update.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index c18a0fb4ec..0afd6b07bb 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -232,6 +232,13 @@ class install_update extends module
}
// What about the language file? Got it updated?
+ if (in_array('language/' . $language . '/install.' . $phpEx, $this->update_info['files']))
+ {
+ $lang = array();
+ include($this->new_location . 'language/' . $language . '/install.' . $phpEx);
+ // this is the user's language.. just merge it
+ $user->lang = array_merge($user->lang, $lang);
+ }
if (in_array('language/en/install.' . $phpEx, $this->update_info['files']))
{
$lang = array();