From 936cc9749b234611015e517d483ab00293e75473 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 12 Feb 2025 15:57:55 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D0=B5=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D1=8B=D1=85?= =?utf8?q?=20=D1=82=D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index b1e21839..b99c8403 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -428,6 +428,8 @@ class CronController extends Controller ->andWhere(['date_start' => $kogortDate]) ->column(); $testPhones = array_map('trim', explode(',', $messagesSettings->test_phones_list)); + $countTestPhones = count($testPhones); + $countPhones += $countTestPhones; $countBonuses = 0; foreach ($kogortPhones as $key => $phone) { if (in_array($phone, $testPhones)) { -- 2.39.5