MyBB Community Forums

Full Version: [F] [Admin-CP] global language var overwritten by language file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the Admin-CP >> Configuration >> Settings the global language ($lang->language) will be set to "Language Selection Box" because there is an var in inc/languages/english/admin/config_settings.lang.php that has the same name ($l['language'] will be loaded to $lang->language).

To fix this little bug change line 35 in inc/languages/english/admin/config_settings.lang.php to
$l['language_selection_box'] = "Language Selection Box";
and change line 428 and line 615 in admin/modules/config/settings.php to
"language" => $lang->language_selection_box,

hope that helps!

regards
pheno
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.