diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php
index 8b577b71bcc..8b24d555a9a 100644
--- a/htdocs/core/tpl/objectline_create.tpl.php
+++ b/htdocs/core/tpl/objectline_create.tpl.php
@@ -276,6 +276,19 @@ else {
}
$form->select_produits_fournisseurs($object->socid, GETPOST('idprodfournprice'), 'idprodfournprice', '', '', $ajaxoptions, 1, $alsoproductwithnosupplierprice, 'maxwidth300');
+ ?>
+
+ ';
echo '';
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 99ce83fef1a..229d31c35a5 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2769,20 +2769,7 @@ elseif (! empty($object->id))
}
}
-?>
-
-
-
-close();