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

Fix: Bad count

parent a1090f9b
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ class mailing_fraise extends MailingTargets
{
$sql = "SELECT count(distinct(a.email)) as nb";
$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
// par parent::getNbOfRecipients
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment