diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 5fbf3ad54..e31fb887e 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -4772,7 +4772,7 @@ class rcube_imap $address = $m[2]; $name = trim($m[1]); } - else if (preg_match('/^(\S+@\S+)$/', $val, $m)) { + else if (preg_match('/^('.$email_rx.')$/', $val, $m)) { $address = $m[1]; $name = ''; } |