Minor adjustments to variable_orders & gpc_order checks. "Special thanks" to Tomas...
[squirrelmail.git] / functions / identity.php
index b2b82177321ae72d1ceccb3d2e6de3dbf3a0b459..d5692566bb92240fb17f9599aae3a3b992474d2d 100644 (file)
@@ -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;
                 }
             }