Pārlūkot izejas kodu

Correctif mineur

packProduct
Fabien Normand pirms 3 gadiem
vecāks
revīzija
4b725aa2b8
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      Builder/Order/OrderShopBuilder.php

+ 2
- 0
Builder/Order/OrderShopBuilder.php Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt