X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fidentity.php;h=d5692566bb92240fb17f9599aae3a3b992474d2d;hp=b2b82177321ae72d1ceccb3d2e6de3dbf3a0b459;hb=c4f59e6ca6934752ea7d4458e6f888a7c4274e78;hpb=40e071367219a08de46bf1ed3993180030adc9c9;ds=sidebyside diff --git a/functions/identity.php b/functions/identity.php index b2b82177..d5692566 100644 --- 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; } }