Ver código fonte

[Administration] Distribution > Erreur 500 : updateProductDistributionQuantityMax #1206

feature/souke
Guillaume Bourgeois 1 ano atrás
pai
commit
408db79ce9
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

@@ -599,7 +599,7 @@ class DistributionController extends BackendController
\Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
$productDistributionManager = $this->getProductDistributionManager();
$productDistribution = $this->getProductDistribution($idProduct, $idDistribution);
$productDistributionManager->updateProductDistributionQuantityMax($productDistribution, $quantityMax);
$productDistributionManager->updateProductDistributionQuantityMax($productDistribution, (float) $quantityMax);
return ['success'];
}


Carregando…
Cancelar
Salvar