From b53d65bbd09b076ef849dbbc7c1ef99a4cecd2fe Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Wed, 9 Jul 2025 18:18:37 +0300 Subject: [PATCH] fix sync telegram users --- erp24/commands/CronController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index a02d6af4..688dcc3c 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -1287,11 +1287,11 @@ class CronController extends Controller } foreach ($chatbotUsers as $remoteUser) { + $phone = $remoteUser['phone']; if (empty($phone)) { // fputcsv($fileHandle, [$phone, $username, $chatId, $isBlocked, $isRegistered, 'Отсутствует телефон'], ';'); continue; } - $phone = $remoteUser['phone']; $chatId = $remoteUser['chat_id']; $username = $remoteUser['username']; $firstName = $remoteUser['first_name']; -- 2.39.5