diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 644ebd79347..e951bfa3813 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2769,6 +2769,14 @@ elseif (! empty($object->id))
}
}
+?>
+
+close();
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index 70407661d52..69ca7f85a14 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -3234,6 +3234,13 @@ else
}
}
+?>
+
+close();