瀏覽代碼

Merge branch 'dev'

master
Guillaume Bourgeois 5 年之前
父節點
當前提交
8b3ccf70a0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      producer/controllers/OrderController.php

+ 2
- 2
producer/controllers/OrderController.php 查看文件

@@ -596,8 +596,8 @@ class OrderController extends ProducerBaseController
$indexProduct = 0 ;
foreach($productsArray as &$product) {
if(!isset($theProduct['productDistribution'][0])) {
$theProduct['productDistribution'][0] = $distribution->linkProduct($product) ;
if(!isset($product['productDistribution'][0])) {
$product['productDistribution'][0] = $distribution->linkProduct($product) ;
}
$coefficient_unit = Product::$unitsArray[$product['unit']]['coefficient'] ;

Loading…
取消
儲存