From a572b601cfaff2f1ba8af08f56dd0ac470eaa826 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 17 Feb 2025 17:43:23 +0300 Subject: [PATCH] typo --- erp24/api2/controllers/DataController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 1e9086ff..61a52578 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -59,9 +59,9 @@ class DataController extends BaseController { const OUT_DIR = -// __DIR__ . "/../json"; + __DIR__ . "/../json"; // "/www/api2/json"; - "/var/www/erp24/api2/json"; +// "/var/www/erp24/api2/json"; // "/var/www/www-root/data/www/api.bazacvetov24.ru/data/json"; @@ -1910,7 +1910,7 @@ class DataController extends BaseController if ($price1->getErrors()) { LogService::apiErrorLog(json_encode(["error_id" => 27, "error" => $price1->getErrors()], JSON_UNESCAPED_UNICODE)); } - PricesRegion::deleteAll(['product_id' => $idp, 'region_Id' => $region_id]); + PricesRegion::deleteAll(['product_id' => $idp, 'region_id' => $region_id]); $priceRegion = new PricesRegion; $priceRegion->product_id = $idp; $priceRegion->region_id = $region_id; -- 2.39.5