Browse Source

[Administration] Correctif DistributionController

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
c650e65c10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/DistributionController.php

+ 1
- 1
backend/controllers/DistributionController.php View File

@@ -590,7 +590,7 @@ class DistributionController extends BackendController
}

// Quantité définie dans le formulaire
if(isset($productOrderFormArray[$product->id]['quantity'])) {
if(isset($productOrderFormArray[$product->id]['quantity']) && $productOrderFormArray[$product->id]['quantity']) {
$quantity = $productOrderFormArray[$product->id]['quantity'] / $productModule->getSolver()->getUnitCoefficient($product);
}


Loading…
Cancel
Save