From d270ffef7bf67fb0cabfed7ca9b1be126b28fbaf Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Thu, 9 Oct 2025 15:51:08 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B0=20=D0=BE?= =?utf8?q?=D1=82=D0=B2=D0=B5=D1=82=D0=B0=20=D0=B7=D0=B0=D0=BA=D0=B0=D0=B7?= =?utf8?q?=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=201=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/OrdersController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/erp24/api2/controllers/OrdersController.php b/erp24/api2/controllers/OrdersController.php index 026e1a29..08bd797d 100644 --- a/erp24/api2/controllers/OrdersController.php +++ b/erp24/api2/controllers/OrdersController.php @@ -275,6 +275,7 @@ class OrdersController extends BaseController $jsonId = time(); } LogService::apiDataLogs(1, json_encode($result, JSON_UNESCAPED_UNICODE), $jsonId); + $result = $result ?? json_encode($result, JSON_UNESCAPED_UNICODE); return [ 'success' => true, 'result' => $result, -- 2.39.5