瀏覽代碼

[backend] Mail aux producteurs : seulement les producteurs ayant un espace en ligne

dev
Guillaume Bourgeois 5 年之前
父節點
當前提交
ee0fb8bb96
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      backend/controllers/CommunicateAdminController.php

+ 1
- 1
backend/controllers/CommunicateAdminController.php 查看文件

@@ -80,7 +80,7 @@ class CommunicateAdminController extends BackendController
public function actionIndex($section = 'producers')
{
if($section == 'producers') {
$producers = Producer::find()->with(['contact'])->all() ;
$producers = Producer::find()->where(['producer.active' => 1])->with(['contact'])->all() ;
$usersArray = [];
$users = [] ;
foreach ($producers as $producer) {

Loading…
取消
儲存