mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11062] If user's language is english there is no further work needed
PHPBB3-11062
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user