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