projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445de80
)
Bug #9437: Change language regardless of POST/GET
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Dec 2010 18:28:53 +0000
(11:28 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Dec 2010 18:44:54 +0000
(11:44 -0700)
horde/login.php
patch
|
blob
|
history
diff --git
a/horde/login.php
b/horde/login.php
index
97ff012
..
a808511
100644
(file)
--- a/
horde/login.php
+++ b/
horde/login.php
@@
-95,10
+95,8
@@
case Horde_Auth::REASON_LOGOUT:
}
/* Change language. */
-if (!$is_auth &&
- !$prefs->isLocked('language') &&
- ($new_lang = Horde_Util::getGet('new_lang'))) {
- $registry->setLanguageEnvironment($new_lang);
+if (!$is_auth && !$prefs->isLocked('language') && $vars->new_lang) {
+ $registry->setLanguageEnvironment($vars->new_lang);
}
if ($logout_reason) {