Merge pull request #22737 from bomuux/patch-1

BUG: can't update product_price_by_qty
This commit is contained in:
Laurent Destailleur
2022-11-07 19:35:31 +01:00
committed by GitHub

View File

@@ -556,7 +556,7 @@ if (empty($reshook)) {
// Ajout / mise à jour
if ($rowid > 0) {
$sql = "UPDATE ".MAIN_DB_PREFIX."product_price_by_qty SET";
$sql .= " price=".((float) $price)."',";
$sql .= " price=".((float) $price).",";
$sql .= " unitprice=".((float) $unitPrice).",";
$sql .= " quantity=".((float) $quantity).",";
$sql .= " remise_percent=".((float) $remise_percent).",";