From 2e6e8241ce08f917ca1a2273ea0edb09b7e81502 Mon Sep 17 00:00:00 2001 From: btry Date: Fri, 16 Dec 2016 17:00:24 +0100 Subject: [PATCH] fix(*): fix save of firstname and lastname from devices upon enrollment fix bad management of the name --- inc/agent.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/agent.class.php b/inc/agent.class.php index c199a2d6..0956c39a 100644 --- a/inc/agent.class.php +++ b/inc/agent.class.php @@ -900,7 +900,7 @@ protected function enrollByInvitationToken($input) { $user->update([ 'id' => $userId, 'firstname' => $firstname, - 'realname' => "$firstname $lastname", + 'realname' => $lastname, ]); }