From e26f5216a60e8cd21386fafcd394d0319064b636 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 11 Jul 2013 11:47:15 +0000 Subject: [PATCH] fix lcase to strtolower --- felamimail/inc/class.uipreferences.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/felamimail/inc/class.uipreferences.inc.php b/felamimail/inc/class.uipreferences.inc.php index 9cd3dc9bcc..c3e70d6710 100644 --- a/felamimail/inc/class.uipreferences.inc.php +++ b/felamimail/inc/class.uipreferences.inc.php @@ -109,11 +109,11 @@ $domainName = $bofelamimail->icServer->domainName; if ($alllowercase) { - $domainName = lcase($domainName); + $domainName = strtolower($domainName); } foreach ($accounts as $k => $v) { - if ($alllowercase) $v['account_lid']=lcase($v['account_lid']); + if ($alllowercase) $v['account_lid']=strtolower($v['account_lid']); $isgroup=$v['account_id']<0?constant("$imapClassName::ACL_GROUP_PREFIX"):''; $dfn = common::display_fullname($v['account_lid']); if ($bofelamimail->icServer->loginType=='standard') // means username @@ -136,7 +136,7 @@ natcasesort($accountList); foreach ($groups as $k => $v) { - if ($alllowercase) $v['account_lid']=lcase($v['account_lid']); + if ($alllowercase) $v['account_lid']=strtolower($v['account_lid']); $isgroup=$v['account_id']<0?constant("$imapClassName::ACL_GROUP_PREFIX"):''; $dfn = common::display_fullname($v['account_lid']); if ($bofelamimail->icServer->loginType=='standard') // means username