Current time: 03-22-2010, 03:30 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] [Admin-CP] global language var overwritten by language file
08-30-2008, 09:20 AM
Post: #1
[F] [Admin-CP] global language var overwritten by language file
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
PHP Code:
$l['language_selection_box'] = "Language Selection Box"
and change line 428 and line 615 in admin/modules/config/settings.php to
PHP Code:
"language" => $lang->language_selection_box

hope that helps!

regards
pheno
Find all posts by this user
08-30-2008, 03:09 PM
Post: #2
[F] [Admin-CP] global language var overwritten by language file
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.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: