From 4747e84b742310050efc7583c7ae6532ee2082f9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Jan 2018 00:40:33 +0100 Subject: [PATCH] Update price.php --- htdocs/product/price.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index cfe4c474d5c..a2afb5f9bb8 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -411,10 +411,10 @@ if (empty($reshook)) // Récupération des variables $rowid = GETPOST('rowid','int'); $priceid = GETPOST('priceid','int'); - $newprice = price2num(GETPOST("price",'int'), 'MU'); + $newprice = price2num(GETPOST("price",'alpha'), 'MU'); // $newminprice=price2num(GETPOST("price_min"),'MU'); // TODO : Add min price management $quantity = GETPOST('quantity','int'); - $remise_percent = price2num(GETPOST('remise_percent','int')); + $remise_percent = price2num(GETPOST('remise_percent','alpha')); $remise = 0; // TODO : allow discount by amount when available on documents if (empty($quantity)) {