1
0
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:
Oliver Schramm
2013-07-25 13:10:45 +02:00
parent a9f0577502
commit 7304ac9c3c

View File

@@ -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);