Revision: 12395
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12395&view=rev
Author: kink
Date: 2007-05-14 09:16:55 -0700 (Mon, 14 May 2007)
Log Message:
-----------
compare addresses case insensitively, thanks Xaviet Bruyet.
Modified Paths:
--------------
trunk/squirrelmail/functions/identity.php
Modified: trunk/squirrelmail/functions/identity.php
===================================================================
--- trunk/squirrelmail/functions/identity.php 2007-05-11 21:49:36 UTC (rev
12394)
+++ trunk/squirrelmail/functions/identity.php 2007-05-14 16:16:55 UTC (rev
12395)
@@ -257,7 +257,7 @@
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;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
|