diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 5a91a8a7a3d..036d45d4bca 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -821,13 +821,13 @@ print "\n
\n"; if ($product->id && $_GET["action"] == '' && $product->status) { - $propal = New Propal($db); - print ''; // Propals if($conf->propal->enabled && $user->rights->propale->creer) { + $propal = new Propal($db); + $langs->load("propal"); print '
'; @@ -943,7 +943,7 @@ if ($product->id && $_GET["action"] == '' && $product->status) // Commande if($conf->commande->enabled && $user->rights->commande->creer) { - $commande = New Commande($db); + $commande = new Commande($db); $langs->load("orders");