FIX: page was not reloaded after addline causing a new lline creation was page was reloaded

This commit is contained in:
Noé Courtier 2023-01-24 14:21:14 +01:00
parent dac3acd71f
commit b964f1a476

View File

@ -1162,7 +1162,8 @@ if (empty($reshook)) {
} }
} }
$action = ''; header("Location: ".$_SERVER["PHP_SELF"]."?id=".GETPOST('id', 'int'));
exit;
} }
if ($action == 'confirm_delete_line' && GETPOST("confirm", 'alpha') == "yes" && $user->rights->expensereport->creer) { if ($action == 'confirm_delete_line' && GETPOST("confirm", 'alpha') == "yes" && $user->rights->expensereport->creer) {