summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-20 09:18:52 +0000
committeralecpl <alec@alec.pl>2008-10-20 09:18:52 +0000
commit7f639467194da6d6a4059d75fb2307ffe1201ab5 (patch)
treea56ebf15c84685272cc4ba794ff7fa96f118207c /program/include
parent1ad39efbf4047285dd84762eb9dc55ebcd00b0a2 (diff)
- #1485499: make email address comparision case insensitive
- support multibyte characters in in_array_nocase()
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index e740aeaa3..af5eb1fda 100644
--- a/program/include/rcube_shared.inc
+++ b/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;