Browse Source

Update price.php

Laurent Destailleur 4 years ago
parent
commit
4e66e134bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/product/price.php

+ 1 - 1
htdocs/product/price.php

@@ -349,7 +349,7 @@ if (empty($reshook))
 
 				$newprice = price2num($newprice, 'MU');
 				$newprice_min = price2num($val['price_min'], 'MU');
-				$newvattx = price2num($val['vat_tx'], 'MU');
+				$newvattx = price2num($val['vat_tx']);
 
 				if (!empty($conf->global->PRODUCT_MINIMUM_RECOMMENDED_PRICE) && $newprice_min < $maxpricesupplier) {
 					setEventMessages($langs->trans("MinimumPriceLimit", price($maxpricesupplier, 0, '', 1, - 1, - 1, 'auto')), null, 'errors');