diff --git a/ChangeLog b/ChangeLog index 6e22a3ef3..b780d75ee 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $Source$ 2005-12-06 Marc Delisle * 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ř * libraries/config.default.php: Modify default export configuration (RFE diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index bed780734..19298eb6b 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -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'];