one more fix for backslash in username

This commit is contained in:
Michal Čihař
2003-07-09 10:06:16 +00:00
parent 0522b2f466
commit ca55aae520

View File

@@ -166,6 +166,9 @@ function PMA_blowfish_decrypt($data, $secret) {
else if (!empty($HTTP_COOKIE_VARS) && isset($HTTP_COOKIE_VARS['pma_cookie_username'])) {
$default_user = $HTTP_COOKIE_VARS['pma_cookie_username'];
}
if (isset($default_user) && get_magic_quotes_gpc()) {
$default_user = stripslashes($default_user);
}
$autocomplete = '';
}
else {