Ver código fonte

[Administration] Correctif DistributionController

feature/rotating_product
Guillaume Bourgeois 4 meses atrás
pai
commit
c650e65c10
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      backend/controllers/DistributionController.php

+ 1
- 1
backend/controllers/DistributionController.php Ver arquivo

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


Carregando…
Cancelar
Salvar