From e2003306d3b4010fb9772f79dc490805848c7a8c Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 21 Jul 2008 08:30:01 +0000 Subject: #1485207 --- program/include/rcube_user.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/include/rcube_user.php') diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index 5f970ec6a..e4152e65e 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -420,11 +420,11 @@ class rcube_user static function email2user($email) { $user = $email; - $r = self::findinvirtual("^$email"); + $r = self::findinvirtual("^$email\s"); for ($i=0; $i 0) { @@ -446,7 +446,7 @@ class rcube_user static function user2email($user) { $email = ""; - $r = self::findinvirtual("$user$"); + $r = self::findinvirtual("\s$user\s*$"); for ($i=0; $i