From: fomichev Date: Mon, 20 Jan 2025 15:11:12 +0000 (+0300) Subject: Тестовая рассылка только по номерам X-Git-Tag: 1.7~64^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=3b05969cc43fec192d247462a9d5fc4e64a2eb35;p=erp24_rep%2Fyii-erp24%2F.git Тестовая рассылка только по номерам --- 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') {