From c3b51e5b4abfe1caed66c6e69d441f4f54cdbfe2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 16 May 2007 06:42:47 +0000 Subject: [PATCH] Modif appel assign_smarty --- htdocs/product/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index b0a2184eb2a..5a92116d44e 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -421,7 +421,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) } } - $product->assign_smarty_values($smarty); + $product->assign_smarty_values($smarty, 'create'); if ($_error == 1) { @@ -599,7 +599,7 @@ if ($_GET["id"] || $_GET["ref"]) $smarty->template_dir = DOL_DOCUMENT_ROOT.'/product/canvas/'.$product->canvas.'/'; - $product->assign_smarty_values($smarty); + $product->assign_smarty_values($smarty,$_GET["action"]); } else {