Skip to content
Snippets Groups Projects
Commit f6255b68 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad count

parent a1090f9b
Branches
Tags
No related merge requests found
...@@ -80,7 +80,7 @@ class mailing_fraise extends MailingTargets ...@@ -80,7 +80,7 @@ class mailing_fraise extends MailingTargets
{ {
$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"; $sql .= " WHERE (a.email IS NOT NULL AND a.email != '')";
// 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment