Merge pull request #8543 from ATM-Nicolas/fix_duplicate_events

FIX : multiple creation of same event
This commit is contained in:
Laurent Destailleur 2018-04-11 16:28:32 +02:00 committed by GitHub
commit 307f217d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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