瀏覽代碼

Merge branch 'dev'

master
Guillaume 4 年之前
父節點
當前提交
55df6ea924
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      common/models/Distribution.php

+ 1
- 1
common/models/Distribution.php 查看文件

@@ -329,7 +329,7 @@ class Distribution extends ActiveRecordCommon
if($ordersArray) {
foreach($ordersArray as $order) {
foreach($order->productOrder as $productOrder) {
if($order->productOrder->id_product == $product->id) {
if($productOrder->id_product == $product->id) {
$productOrder->price = $product->price ;
$productOrder->save() ;
}

Loading…
取消
儲存