shish 4 lat temu
rodzic
commit
09a7e307cf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      biz-mall/order/classes/OrderGoodsClass.php

+ 1 - 1
biz-mall/order/classes/OrderGoodsClass.php

@@ -23,7 +23,7 @@ class OrderGoodsClass extends BaseClass
         $mainId = $order->mainId ?? 0;
         $mainId = $order->mainId ?? 0;
         $customName = $order->customName ?? '';
         $customName = $order->customName ?? '';
         $orderId = $order->id ?? 0;
         $orderId = $order->id ?? 0;
-        $goodsList = self::getAllByCondition(['orderSn' => $orderSn], null, '*', true);
+        $goodsList = self::getAllByCondition(['orderSn' => $orderSn], null, '*', null, true);
         if (!empty($goodsList)) {
         if (!empty($goodsList)) {
             foreach ($goodsList as $goods) {
             foreach ($goodsList as $goods) {