[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail: [12907]
From:       pdontthink () users ! sourceforge ! net
Date:       2008-01-30 7:37:17
Message-ID: E1JK7VV-00037k-FY () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 12907
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12907&view=rev
Author:   pdontthink
Date:     2008-01-29 23:37:17 -0800 (Tue, 29 Jan 2008)

Log Message:
-----------
Fix undefined field problem

Modified Paths:
--------------
    trunk/squirrelmail/functions/imap_messages.php

Modified: trunk/squirrelmail/functions/imap_messages.php
===================================================================
--- trunk/squirrelmail/functions/imap_messages.php	2008-01-30 07:33:30 UTC (rev \
                12906)
+++ trunk/squirrelmail/functions/imap_messages.php	2008-01-30 07:37:17 UTC (rev \
12907) @@ -231,7 +231,9 @@
 
     // sqimap_get_small_header (see above) returns fields in lower case,
     // but the code below uses all upper case
-    foreach ($msgs as $k => $v) $msgs[$k][strtoupper($sSortField)] = \
$msgs[$k][strtolower($sSortField)]; +    foreach ($msgs as $k => $v) 
+        if (isset($msgs[$k][strtolower($sSortField)])) 
+            $msgs[$k][strtoupper($sSortField)] = $msgs[$k][strtolower($sSortField)];
 
     $aUid = array();
     $walk = false;


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic