Fix: send only status 1

This commit is contained in:
Regis Houssin 2012-06-15 15:41:58 +02:00
parent cf7872497e
commit 971802e773

View File

@ -47,7 +47,7 @@ $error = 0;
$sql = "SELECT m.rowid, m.titre, m.sujet, m.body,";
$sql.= " m.email_from, m.email_replyto, m.email_errorsto";
$sql.= " FROM ".MAIN_DB_PREFIX."mailing as m";
$sql.= " WHERE m.statut IN (1,2)";
$sql.= " WHERE m.statut = 1";
$resql=$db->query($sql);
if ($resql)