projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compare addresses case insensitively, thanks Xaviet Bruyet.
[squirrelmail.git]
/
functions
/
identity.php
diff --git
a/functions/identity.php
b/functions/identity.php
index b2b82177321ae72d1ceccb3d2e6de3dbf3a0b459..d5692566bb92240fb17f9599aae3a3b992474d2d 100644
(file)
--- a/
functions/identity.php
+++ b/
functions/identity.php
@@
-257,7
+257,7
@@
function find_identity($needles) {
foreach ( $idents as $nr => $ident ) {
if ( isset($ident['email_address']) ) {
foreach ( $needles as $needle ) {
- if (
$needle == $ident['email_address']
) {
+ if (
strcasecmp($needle, $ident['email_address']) == 0
) {
return $nr;
}
}