From 0de4fa09f13c5a0181495180cbe5c2b7688d4946 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Tue, 26 Feb 2013 12:52:37 +0100 Subject: [PATCH] Product price : updated always with HT base type after product import --- htdocs/product/price.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index cbd9bb585f9..2d0a1816982 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -680,7 +680,7 @@ if ($result) // Il doit au moins y avoir la ligne de prix initial. // On l'ajoute donc pour remettre a niveau (pb vieilles versions) - $object->updatePrice($object->id, $object->price, 'HT', $user, $newprice_min); + $object->updatePrice($object->id, $object->price, $object->price_base_type, $user, $newprice_min); $result = $db->query($sql); $num = $db->num_rows($result);