bug #1374753, Language change on login panel not propagated
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
||||
|
||||
2005-12-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php: bug #1374236, sorting order
|
||||
* libraries/auth/cookie.auth.lib.php: bug #1374753, Language change on
|
||||
login panel not propagated
|
||||
|
||||
2005-12-06 Michal Čihař <michal@cihar.com>
|
||||
* libraries/config.default.php: Modify default export configuration (RFE
|
||||
|
@@ -476,6 +476,10 @@ function PMA_auth_set_user()
|
||||
if ( ! empty($GLOBALS['table']) ) {
|
||||
$url_params['table'] = $GLOBALS['table'];
|
||||
}
|
||||
// Language change from the login panel needs to be remembered
|
||||
if ( ! empty($GLOBALS['lang']) ) {
|
||||
$url_params['lang'] = $GLOBALS['lang'];
|
||||
}
|
||||
// any target to pass?
|
||||
if ( ! empty($GLOBALS['target']) && $GLOBALS['target'] != 'index.php' ) {
|
||||
$url_params['target'] = $GLOBALS['target'];
|
||||
|
Reference in New Issue
Block a user