Modif appel assign_smarty

This commit is contained in:
Rodolphe Quiedeville 2007-05-16 06:42:47 +00:00
parent aaaa8add52
commit c3b51e5b4a

View File

@ -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
{