FIX When an email was partially sent from GUI, it was not possible to
finish from CLI.
This commit is contained in:
parent
969314e731
commit
e9ffbd1406
@ -68,7 +68,7 @@ if (! empty($login)) $user->fetch('',$login);
|
||||
$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 = 1";
|
||||
$sql.= " WHERE m.statut IN (1,2)";
|
||||
if ($id != 'all')
|
||||
{
|
||||
$sql.= " AND m.rowid= ".$id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user