From a4126fae66d946d943f3776be6e343bd3bd8fb3e Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 1 May 2014 18:13:01 +0200 Subject: [PATCH] [ bug #1341 ] Lastname not added by file or direct input in mass e-mailing --- ChangeLog | 1 + htdocs/core/modules/mailings/xinputfile.modules.php | 2 +- htdocs/core/modules/mailings/xinputuser.modules.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 455ba63c7ee..0af65fcc418 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ Fix: Error on field accountancy code for export profile of invoices. Fix: [ bug #1351 ] VIES verification link broken. Fix: [ bug #1352 ] Removing a shipping does not remove the delivery. Fix: Option MAIN_INVERT_SENDER_RECIPIENT broken with typhon template. +Fix: [ bug #1341 ] Lastname not added by file or direct input in mass e-mailing ***** ChangeLog for 3.5.2 compared to 3.5.1 ***** diff --git a/htdocs/core/modules/mailings/xinputfile.modules.php b/htdocs/core/modules/mailings/xinputfile.modules.php index f6f47db95bb..40fd949fd08 100644 --- a/htdocs/core/modules/mailings/xinputfile.modules.php +++ b/htdocs/core/modules/mailings/xinputfile.modules.php @@ -166,7 +166,7 @@ class mailing_xinputfile extends MailingTargets { $cibles[$j] = array( 'email' => $email, - 'name' => $name, + 'lastname' => $name, 'firstname' => $firstname, 'other' => $other, 'source_url' => '', diff --git a/htdocs/core/modules/mailings/xinputuser.modules.php b/htdocs/core/modules/mailings/xinputuser.modules.php index a1c60bf527c..c79054c63a7 100644 --- a/htdocs/core/modules/mailings/xinputuser.modules.php +++ b/htdocs/core/modules/mailings/xinputuser.modules.php @@ -134,7 +134,7 @@ class mailing_xinputuser extends MailingTargets { $cibles[] = array( 'email' => $email, - 'name' => $lastname, + 'lastname' => $lastname, 'firstname' => $firstname, 'other' => $other, 'source_url' => '',