diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 294f1da7f62..ec9426f7a3c 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 {