FIX : Multiple creation of same event

This commit is contained in:
ATM-Nicolas 2018-04-10 17:10:48 +02:00
parent 79af10fc83
commit cffe1e9771

View File

@ -837,6 +837,8 @@ if (empty($reshook))
$object->generateDocument($object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref); $object->generateDocument($object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref);
} }
$action = ''; $action = '';
header("Location: ".$_SERVER["PHP_SELF"]."?id=".$object->id);
exit;
} }
else else
{ {