diff --git a/application/WarehouseArticleDistributor/WarehouseArticleDistributorController.php b/application/WarehouseArticleDistributor/WarehouseArticleDistributorController.php index d001982d8..4ab14349e 100644 --- a/application/WarehouseArticleDistributor/WarehouseArticleDistributorController.php +++ b/application/WarehouseArticleDistributor/WarehouseArticleDistributorController.php @@ -67,8 +67,8 @@ class WarehouseArticleDistributorController extends TTCrud { } protected function afterDelete($postData) { - WarehouseArticleController::updateCheapestPurchasePrice($postData); - WarehouseArticleController::updateSellPrices($postData); + WarehouseArticleController::updateCheapestPurchasePrice($postData["id"]); + WarehouseArticleController::updateSellPrices($postData["id"]); } protected function getHistoryAction() {