From 6728089106164d3fcaa8e92a7000141d88684d48 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 15 May 2019 19:15:41 -0700 Subject: [PATCH] Fixed #6883 - remove escaping of fields on LDAP import --- app/Console/Commands/LdapSync.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php index b7b9b0ab28..214f8e5880 100755 --- a/app/Console/Commands/LdapSync.php +++ b/app/Console/Commands/LdapSync.php @@ -180,10 +180,10 @@ class LdapSync extends Command $item["createorupdate"] = 'created'; } - $user->first_name = e($item["firstname"]); - $user->last_name = e($item["lastname"]); - $user->username = e($item["username"]); - $user->email = e($item["email"]); + $user->first_name = $item["firstname"]; + $user->last_name = $item["lastname"]; + $user->username = $item["username"]; + $user->email = $item["email"]; $user->employee_num = e($item["employee_number"]); // Sync activated state for Active Directory.