From 84121c12e56ec114f8a482cdf48a6cf1e7701a29 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 3 May 2010 07:39:49 +0000 Subject: [PATCH] Works on product canvas and templates --- htdocs/product/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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");