From f3228e8865c3466a844f45c71f8e83bf9100428e Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 12 Feb 2025 16:01:26 +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, 1 insertion(+), 1 deletion(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index b99c8403..45e98faf 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -429,7 +429,6 @@ class CronController extends Controller ->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)) { @@ -458,6 +457,7 @@ class CronController extends Controller } } } + $countBonuses += $countTestPhones; if ($countBonuses !== $countPhones) { $messageBonuses = "⚠️ Внимание! Количество начисленных бонусов отличается от количества телефонов в когорте.\n\n" . -- 2.39.5