Pass the application to Horde_Nls.
authorJan Schneider <jan@horde.org>
Mon, 3 May 2010 12:01:46 +0000 (14:01 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 May 2010 12:09:06 +0000 (14:09 +0200)
framework/Auth/lib/Horde/Auth.php

index c60b364..de6d921 100644 (file)
@@ -752,7 +752,7 @@ class Horde_Auth
 
         /* Reload preferences for the new user. */
         $GLOBALS['registry']->loadPrefs();
-        Horde_Nls::setLanguageEnvironment($GLOBALS['prefs']->getValue('language'));
+        Horde_Nls::setLanguageEnvironment($GLOBALS['prefs']->getValue('language'), $app);
 
         if (!empty($options['nologin'])) {
             return true;