Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 4 months ago
parent
commit
a28be2f22d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      producer/controllers/OrderController.php

+ 1
- 2
producer/controllers/OrderController.php View File

@@ -972,9 +972,8 @@ class OrderController extends ProducerBaseController
->all();

$productsArrayFilter = $productModule->filterProductsByPointSale($productsArray, $pointSale);

$orderCurrent = $order;
if(count($productsFormArray)) {
if($productsFormArray && count($productsFormArray)) {
$productOrdersArray = [];
foreach($productsFormArray as $idProduct => $quantityProduct) {
if($idProduct) {

Loading…
Cancel
Save