summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-23 12:12:27 +0000
committeralecpl <alec@alec.pl>2009-07-23 12:12:27 +0000
commitee258ce15870e6cb4b733087368a062b5fd66b52 (patch)
tree9b52d654f3abdbcba90db483a7970c5d9c308b44 /program/include/rcmail.php
parenta01b3bf9aee82b142724eb769a40a4d6df5d9e26 (diff)
- performance fix: don't check mbstring functions existence too often
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 1721410eb..4624ee194 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -481,7 +481,7 @@ class rcmail
// lowercase username if it's an e-mail address (#1484473)
if (strpos($username, '@'))
- $username = rc_strtolower($username);
+ $username = mb_strtolower($username);
// user already registered -> overwrite username
if ($user = rcube_user::query($username, $host))