[Tickets #9437] Re: Language selection at login fails
bugs at horde.org
bugs at horde.org
Thu Dec 23 08:40:50 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9437
------------------------------------------------------------------------------
Ticket | 9437
Updated By | rsalmon at mbpgroup.com
Summary | Language selection at login fails
Queue | Horde Base
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
rsalmon at mbpgroup.com (2010-12-23 03:40) wrote:
public function preferredLang($lang = null)
I always get to : return basename($GLOBALS['session']->get('horde',
'language')) => fr_FR
$lang is always null/empty.
Calls to function preferredLang don't have any argument. That's
probably why $lang is always empty.
#grep preferredLang -r /var/www/html/horde
libs/Horde/Registry.php: public function preferredLang($lang = null)
libs/Horde/Registry.php: $lang = $this->preferredLang();
libs/Horde/Core/Ui/Language.php: $session->set('horde',
'language', $registry->preferredLang());
libs/Horde/Core/Auth/Application.php: $language =
$registry->preferredLang();
services/language.php:$session->set('horde', 'language',
$registry->preferredLanguage(Horde_Util::getForm('new_lang')));
More information about the bugs
mailing list