FIX: page was not reloaded after addline causing a new lline creation was page was reloaded
This commit is contained in:
parent
dac3acd71f
commit
b964f1a476
@ -1161,8 +1161,9 @@ if (empty($reshook)) {
|
||||
setEventMessages($object->error, $object->errors, 'errors');
|
||||
}
|
||||
}
|
||||
|
||||
$action = '';
|
||||
|
||||
header("Location: ".$_SERVER["PHP_SELF"]."?id=".GETPOST('id', 'int'));
|
||||
exit;
|
||||
}
|
||||
|
||||
if ($action == 'confirm_delete_line' && GETPOST("confirm", 'alpha') == "yes" && $user->rights->expensereport->creer) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user