Update fraise.modules.php
This commit is contained in:
parent
0a5a50263d
commit
ea9071512d
@ -68,7 +68,7 @@ class mailing_fraise extends MailingTargets
|
|||||||
global $conf,$langs;
|
global $conf,$langs;
|
||||||
|
|
||||||
$langs->load("members");
|
$langs->load("members");
|
||||||
|
.
|
||||||
// Array for requests for statistics board
|
// Array for requests for statistics board
|
||||||
$statssql=array();
|
$statssql=array();
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ class mailing_fraise extends MailingTargets
|
|||||||
global $conf;
|
global $conf;
|
||||||
$sql = "SELECT count(distinct(a.email)) as nb";
|
$sql = "SELECT count(distinct(a.email)) as nb";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."adherent as a";
|
$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
|
// La requete doit retourner un champ "nb" pour etre comprise
|
||||||
// par parent::getNbOfRecipients
|
// par parent::getNbOfRecipients
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user