From: Alexander Smirnov Date: Mon, 17 Feb 2025 14:43:23 +0000 (+0300) Subject: typo X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a572b601cfaff2f1ba8af08f56dd0ac470eaa826;p=erp24_rep%2Fyii-erp24%2F.git typo --- 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;