Clean code
This commit is contained in:
parent
06da242200
commit
72b5c3253b
@ -385,11 +385,10 @@ if ((!defined('NOCSRFCHECK') && empty($dolibarr_nocsrfcheck) && !empty($conf->gl
|
||||
$savid = ((int) $_POST['id']);
|
||||
unset($_POST);
|
||||
//unset($_POST['action']);
|
||||
unset($_POST['confirm']);
|
||||
//unset($_POST['confirm']);
|
||||
unset($_GET['confirm']);
|
||||
unset($_GET['action']);
|
||||
$_POST['id'] = ((int) $savid);
|
||||
$_POST['action'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user