Merge pull request #7877 from atm-alexis/fix_print_password_is_clear_after_login

fix print password is visible into link after login
This commit is contained in:
Laurent Destailleur 2017-11-28 12:13:37 +01:00 committed by GitHub
commit 222c53a756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1488,7 +1488,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
if (is_array($_POST))
{
foreach($_POST as $key=>$value) {
if ($key!=='action' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value);
if ($key!=='action' && $key!=='password' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value);
}
}
$qs.=(($qs && $morequerystring)?'&':'').$morequerystring;