summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-20 09:18:52 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-20 09:18:52 +0000
commitace8bd430229e5e33f0efb766696bd10677356c1 (patch)
tree9bcd23dbf37bb6358edff1bcaa9546f6de8a8241 /roundcubemail/program/include
parentf3b409ccce2c3cdd42cc514ad362ba1c79fbf767 (diff)
- #1485499: make email address comparision case insensitive
- support multibyte characters in in_array_nocase() git-svn-id: https://svn.roundcube.net/trunk@1995 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc
index e740aeaa3..af5eb1fda 100644
--- a/roundcubemail/program/include/rcube_shared.inc
+++ b/roundcubemail/program/include/rcube_shared.inc
@@ -210,7 +210,7 @@ function array2js($arr, $type='')
function in_array_nocase($needle, $haystack)
{
foreach ($haystack as $value)
- if (strtolower($needle)===strtolower($value))
+ if (rc_strtolower($needle)===rc_strtolower($value))
return true;
return false;