瀏覽代碼

Correctif mineur

packProduct
Fabien Normand 3 年之前
父節點
當前提交
4b725aa2b8
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      Builder/Order/OrderShopBuilder.php

+ 2
- 0
Builder/Order/OrderShopBuilder.php 查看文件

@@ -339,6 +339,8 @@ class OrderShopBuilder
OrderShopInterface $orderShop2,
$persist = true
): OrderShopInterface {
$this->entityManager->refresh($orderShop1);
$this->entityManager->refresh($orderShop2);
if ($orderShop1 && $orderShop2) {
foreach ($orderShop2->getOrderProducts() as $orderProduct) {
$orderProductAlreadyInCart = $this->orderShopSolver->hasOrderProductAlreadyInCart($orderShop1, $orderProduct);

Loading…
取消
儲存