mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/11062] If user's language is english there is no further work needed
PHPBB3-11062
This commit is contained in:
parent
a9f0577502
commit
7304ac9c3c
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class install_update extends module
|
|||
// 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']))
|
||||
if ($language != 'en' && in_array('language/en/install.' . $phpEx, $this->update_info['files']))
|
||||
{
|
||||
$lang = array();
|
||||
include($this->new_location . 'language/en/install.' . $phpEx);
|
||||
|
|
Loading…
Add table
Reference in a new issue