[Koha-bugs] [Bug 7282] invalid language selection

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 1 17:04:14 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7282

Frère Sébastien Marie <semarie-koha at latrappe.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|frederic at tamil.fr           |semarie-koha at latrappe.fr

--- Comment #1 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2011-12-01 16:04:14 UTC ---
Created attachment 6486
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6486
Bug 7282: invalid language selection

This patch restore the original behavior.

Perhaps getlanguagecookie should be improve to parse and interprete
HTTP_ACCEPT_LANGUAGE too ? But duplicate code (in themelanguage) should be
stripped.

And his name is getlanguagecookie ... so should be only the language from
cookie ? if yes, discard HTTP_ACCEPT_LANGUAGE from getlanguagecookie is a
solution...

So, a more elaborate patch could be done.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list