From 61862bf50dd4800b40b54e35950da105baabdeb0 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 18 Apr 2011 15:09:03 +0000 Subject: [PATCH] Trim any extra space off name / account login, it breaks the searching --- importexport/inc/class.importexport_helper_functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/importexport/inc/class.importexport_helper_functions.inc.php b/importexport/inc/class.importexport_helper_functions.inc.php index 3004d87d7e..8d6b0fa626 100755 --- a/importexport/inc/class.importexport_helper_functions.inc.php +++ b/importexport/inc/class.importexport_helper_functions.inc.php @@ -105,6 +105,8 @@ class importexport_helper_functions { $skip = false; continue; } + $account_lid = trim($account_lid); + // Handle any IDs that slip in if(is_numeric($account_lid) && $GLOBALS['egw']->accounts->id2name($account_lid)) { $account_ids[] = (int)$account_lid;