diff --git a/ChangeLog b/ChangeLog index a5b8e442b9ebf..52840dd2cc265 100644 --- a/ChangeLog +++ b/ChangeLog @@ -53,6 +53,7 @@ New experimental modules: - Fix: No images into product description lines as PDF generation does not work with this. - Fix: Errors weren't being shown in customer's & supplier's orders +- Fix: Lastname wasn't being recorded in xinputuser emailing module For developers: - New: Add webservice for thirdparty creation and list. diff --git a/htdocs/core/modules/mailings/xinputuser.modules.php b/htdocs/core/modules/mailings/xinputuser.modules.php index 994bac804c42d..12648f147fdbb 100644 --- a/htdocs/core/modules/mailings/xinputuser.modules.php +++ b/htdocs/core/modules/mailings/xinputuser.modules.php @@ -133,7 +133,7 @@ function add_to_target($mailing_id,$filtersarray=array()) { $cibles[] = array( 'email' => $email, - 'name' => $name, + 'name' => $lastname, 'firstname' => $firstname, 'other' => $other, 'source_url' => '',