Explorar el Código

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

dev
Guillaume Bourgeois hace 5 años
padre
commit
ee0fb8bb96
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      backend/controllers/CommunicateAdminController.php

+ 1
- 1
backend/controllers/CommunicateAdminController.php Ver fichero

@@ -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) {

Cargando…
Cancelar
Guardar