From 3b05969cc43fec192d247462a9d5fc4e64a2eb35 Mon Sep 17 00:00:00 2001 From: fomichev Date: Mon, 20 Jan 2025 18:11:12 +0300 Subject: [PATCH] =?utf8?q?=D0=A2=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=B0=D1=8F?= =?utf8?q?=20=D1=80=D0=B0=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0=20=D1=82?= =?utf8?q?=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE=20=D0=BF=D0=BE=20=D0=BD=D0=BE?= =?utf8?q?=D0=BC=D0=B5=D1=80=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/Users.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erp24/records/Users.php b/erp24/records/Users.php index 27ff205c..c36834be 100755 --- a/erp24/records/Users.php +++ b/erp24/records/Users.php @@ -501,6 +501,10 @@ class Users extends \yii\db\ActiveRecord $testPhones = array_map('trim', explode(',', $messagesSettings->test_phones_list)); $targetKogortData = $testPhones; } + } else { + if ($messagesSettings->test_phones_active == 1) { + $targetKogortData = []; + } } if ($type === 'target') { -- 2.39.5