Commit 0852bdae authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 2f4fd1f2
......@@ -130,7 +130,7 @@ class DefaultController extends BaseController
// Перебираем в цикле пользователей
foreach($users as $user) {
// Если пользователь подписан
if (Bid::find()->where(['email' => $user->email])->exists()) {
if (CasesBids::find()->where(['email' => $user->email])->exists()) {
// Перебираем все case-ы
foreach($cases as $case) {
// Проверили наличие отправки кейса юзеру
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment