diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index 8c29a7b5..78ae0d41 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -1016,7 +1016,10 @@ public static function orderHistory(): bool ); if (!$response) { - Logger::getInstance()->write("Заказ {$order["id"]} не выгружен. Не удалось получить клиента", 'orderAgent'); + Logger::getInstance()->write( + sprintf('Заказ %s не выгружен. Не удалось получить клиента', $order['id']), + 'orderAgent' + ); continue; }