From ea9071512dded8886d9d60b8d448dba4ae1503a0 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Mon, 27 Nov 2017 17:08:15 +0100 Subject: [PATCH] Update fraise.modules.php --- htdocs/core/modules/mailings/fraise.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/mailings/fraise.modules.php b/htdocs/core/modules/mailings/fraise.modules.php index 69dd3552025..627ede82121 100644 --- a/htdocs/core/modules/mailings/fraise.modules.php +++ b/htdocs/core/modules/mailings/fraise.modules.php @@ -68,7 +68,7 @@ class mailing_fraise extends MailingTargets global $conf,$langs; $langs->load("members"); - +. // Array for requests for statistics board $statssql=array(); @@ -92,7 +92,7 @@ class mailing_fraise extends MailingTargets global $conf; $sql = "SELECT count(distinct(a.email)) as nb"; $sql .= " FROM ".MAIN_DB_PREFIX."adherent as a"; - $sql .= " WHERE (a.email IS NOT NULL AND a.email != '') AND aentity IN (".getEntity('member').")"; + $sql .= " WHERE (a.email IS NOT NULL AND a.email != '') AND a.entity IN (".getEntity('member').")"; // La requete doit retourner un champ "nb" pour etre comprise // par parent::getNbOfRecipients