MyBB Community Forums

Full Version: Wrong user language seen in ACP user edit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Even if an user has its language set to use default in User CP, it is displayed to have it set to English when looking to his account settings in ACP.

As seen in Admin CP:
[Image: 1888489ff8.png]

As seen in User CP (Polish is set as default):
[Image: eb7701c7fe.png]
Confirmed
(2014-10-08, 07:36 PM)SeNCeR Wrote: [ -> ]confirmed
https://github.com/mybb/mybb/blob/featur....php#L1309

That line only gets the installed languages, it won't cause the mentioned error.

Edit: it should be caused somewhere around line 845 as the user values are loaded there.
BTW: whoever fixes this (if it's actual an issue, haven't tested) should also take a look at lines 509 and 527. One can be removed.
(2014-10-08, 08:37 PM)Jones H Wrote: [ -> ]That line only gets the installed languages, it won't cause the mentioned error.

Edit: it should be caused somewhere around line 845 as the user values are loaded there.
BTW: whoever fixes this (if it's actual an issue, haven't tested) should also take a look at lines 509 and 527. One can be removed.


When you change with the 1.6 code here is improving.
(2014-10-09, 05:00 PM)SeNCeR Wrote: [ -> ]When you change with the 1.6 code here is improving.

Yep, I can confirm, thanks for the solution. It's because the order is wrong when the array is merged and the "Use Default" option is last in the select box while it should be first. No idea why it was changed in 1.8, I'll revert it.

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1514

Thanks for contributing to MyBB!

Regards,
The MyBB Group