missing token (#30313)

This commit is contained in:
atm-jonathan 2024-07-08 21:46:59 +02:00 committed by GitHub
parent 1e4cc39e3b
commit 58bba2d58c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -455,7 +455,7 @@ if (empty($reshook)) {
if ($result > 0) {
$db->commit();
header("Location: ".DOL_URL_ROOT.'/delivery/card.php?action=create_delivery&id='.$result);
header("Location: ".DOL_URL_ROOT.'/delivery/card.php?action=create_delivery&token='.newToken().'&id='.$result);
exit;
} else {
$db->rollback();