From df9653d2f49243707a45d8821dc9f82ad770b742 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 24 May 2018 11:05:45 -0400 Subject: [PATCH] Remove the preg match replace for usernames @ and . are allowed. --- models/admin/import/contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/admin/import/contacts.php b/models/admin/import/contacts.php index 7cbb33b..e45fa7a 100644 --- a/models/admin/import/contacts.php +++ b/models/admin/import/contacts.php @@ -390,7 +390,7 @@ class GlmMembersAdmin_import_contacts extends GlmDataContacts // Get the contact data into standard parameters $oldMemberID = ($c[0]-0); $memberName = trim($c[1]); - $memberLogin = preg_replace('/[^a-zA-Z0-9_-]+/', '', trim($c[2])); + $memberLogin = trim($c[2]);//preg_replace('/[^a-zA-Z0-9_-.\\@]+/', '', trim($c[2])); $memberPasswd = trim($c[3]); $memberContactEmail = trim($c[4]); $contactFname = trim($c[5]); -- 2.17.1