1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-21 17:11:53 +02:00

Merge pull request #3631 from rxu/ticket/13868

[ticket/13868] Correctly handle acp/mcp/ucp modules lang files for extensions
This commit is contained in:
Marc Alexander
2015-05-28 10:42:40 +02:00

View File

@@ -1086,7 +1086,7 @@ class p_master
->core_path('language/' . $user->lang_name . '/mods/')
->find();
$lang_files = array_unique(array_merge($user_lang_files, $english_lang_files, $default_lang_files));
$lang_files = array_merge($english_lang_files, $default_lang_files, $user_lang_files);
foreach ($lang_files as $lang_file => $ext_name)
{
$user->add_lang_ext($ext_name, $lang_file);