Merge pull request #23675 from noec764/14_FixExpenseReportAddLine

FIX: ExpenseReport card was not reloaded after addline
This commit is contained in:
Laurent Destailleur 2023-01-25 23:51:39 +01:00 committed by GitHub
commit 14b9a88218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {