Fixed undefined variable

This commit is contained in:
Rouslan Placella 2012-06-02 14:56:02 +01:00
parent eb98110541
commit ed853f9e7c

View File

@ -178,7 +178,10 @@ function PMA_changePassAuthType($_url_params, $password)
* Duration = till the browser is closed for password (we don't want this to be saved)
*/
if ($GLOBALS['cfg']['Server']['auth_type'] == 'cookie') {
$GLOBALS['PMA_Config']->setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($password, $GLOBALS['cfg']['blowfish_secret']));
$GLOBALS['PMA_Config']->setCookie(
'pmaPass-' . $GLOBALS['server'],
PMA_blowfish_encrypt($password, $GLOBALS['cfg']['blowfish_secret'])
);
}
/**
* For http auth. mode, the "back" link will also enforce new