From 98092b952dd35db95fba18dd3eb62ff343e820c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20Garci=CC=81a?= <marcosgdf@gmail.com>
Date: Wed, 12 Sep 2012 14:49:02 +0200
Subject: [PATCH] Fixed xinputuser emailing module Lastname wasn't being
 recorded

---
 htdocs/core/modules/mailings/xinputuser.modules.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/core/modules/mailings/xinputuser.modules.php b/htdocs/core/modules/mailings/xinputuser.modules.php
index 994bac804c4..12648f147fd 100644
--- a/htdocs/core/modules/mailings/xinputuser.modules.php
+++ b/htdocs/core/modules/mailings/xinputuser.modules.php
@@ -133,7 +133,7 @@ class mailing_xinputuser extends MailingTargets
 			{
 				$cibles[] = array(
            			'email' => $email,
-           			'name' => $name,
+           			'name' => $lastname,
            			'firstname' => $firstname,
 					'other' => $other,
                     'source_url' => '',
-- 
GitLab