Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 5 years ago
parent
commit
c658c925b9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/CommunicateAdminController.php

+ 1
- 1
backend/controllers/CommunicateAdminController.php View File

@@ -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…
Cancel
Save