Fix: firstname was missing
This commit is contained in:
parent
3ea1345a5b
commit
6540451078
@ -61,9 +61,8 @@ class mailing_framboise extends MailingTargets
|
|||||||
|
|
||||||
$cibles = array();
|
$cibles = array();
|
||||||
|
|
||||||
// CHANGE THIS
|
|
||||||
// Select the members from category
|
// Select the members from category
|
||||||
$sql = "SELECT a.rowid as id, a.email as email, a.nom as name, null as fk_contact, null as firstname,";
|
$sql = "SELECT a.rowid as id, a.email as email, a.nom as name, null as fk_contact, a.prenom as firstname,";
|
||||||
if ($_POST['filter']) $sql.= " c.label";
|
if ($_POST['filter']) $sql.= " c.label";
|
||||||
else $sql.=" null as label";
|
else $sql.=" null as label";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent as a";
|
$sql.= " FROM ".MAIN_DB_PREFIX."adherent as a";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user