Merge pull request #22737 from bomuux/patch-1
BUG: can't update product_price_by_qty
This commit is contained in:
commit
ac79bc6338
@ -556,7 +556,7 @@ if (empty($reshook)) {
|
|||||||
// Ajout / mise à jour
|
// Ajout / mise à jour
|
||||||
if ($rowid > 0) {
|
if ($rowid > 0) {
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."product_price_by_qty SET";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."product_price_by_qty SET";
|
||||||
$sql .= " price=".((float) $price)."',";
|
$sql .= " price=".((float) $price).",";
|
||||||
$sql .= " unitprice=".((float) $unitPrice).",";
|
$sql .= " unitprice=".((float) $unitPrice).",";
|
||||||
$sql .= " quantity=".((float) $quantity).",";
|
$sql .= " quantity=".((float) $quantity).",";
|
||||||
$sql .= " remise_percent=".((float) $remise_percent).",";
|
$sql .= " remise_percent=".((float) $remise_percent).",";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user