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 {