From cffe1e977166bb2ab831a24c6668973fd0256bc5 Mon Sep 17 00:00:00 2001 From: ATM-Nicolas Date: Tue, 10 Apr 2018 17:10:48 +0200 Subject: [PATCH] FIX : Multiple creation of same event --- htdocs/fourn/commande/card.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index ad27a496672..ee6026ae4d3 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -837,6 +837,8 @@ if (empty($reshook)) $object->generateDocument($object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref); } $action = ''; + header("Location: ".$_SERVER["PHP_SELF"]."?id=".$object->id); + exit; } else {