Sfoglia il codice sorgente

[Administration] Distribution > Erreur 500 : updateProductDistributionQuantityMax #1206

feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
408db79ce9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      backend/controllers/DistributionController.php

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

@@ -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'];
}


Loading…
Annulla
Salva