Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Disabling new HTTP_ACCEPT_LANGUAGE detection in 0.2-beta by config #1812
Reported by rosali on 23 Sep 2008 05:05 UTC as Trac ticket #1485401
makes sense for me:
Comment by JohnDoh on 23 Sep 2008 19:40 UTC
The problem is that the users selected language is always added to the user preference array even when no language is selected (such as on the first visit to the login screen). This can cause an empty value in the array for that key, which overwrites the global value and a language selection of null activates the auto detection. Attached patch adds a check the rcube_user->get_prefs() to only add language to the array when it is set.