mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
missing token (#30313)
This commit is contained in:
parent
1e4cc39e3b
commit
58bba2d58c
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user