mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix regresion on print link
This commit is contained in:
parent
088c1606df
commit
4d971a9c33
|
|
@ -2164,7 +2164,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead
|
|||
|
||||
if (isset($_POST) && is_array($_POST)) {
|
||||
foreach ($_POST as $key => $value) {
|
||||
$key = preg_replace('/[^a-z0-9_\-\[\]/i', '', $key);
|
||||
$key = preg_replace('/[^a-z0-9_\.\-\[\]]/i', '', $key);
|
||||
if (in_array($key, array('action', 'massaction', 'password'))) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user