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

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14495] branches/SM-1_4-STABLE/squirrelmail/ functions/mailbox_dis
From:       pdontthink () users ! sourceforge ! net
Date:       2015-01-19 19:51:09
Message-ID: E1YDIM3-00089o-1H () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 14495
          http://sourceforge.net/p/squirrelmail/code/14495
Author:   pdontthink
Date:     2015-01-19 19:51:09 +0000 (Mon, 19 Jan 2015)
Log Message:
-----------
Prevent PHP notices

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php

Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php	2015-01-19 \
                18:27:15 UTC (rev 14494)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php	2015-01-19 \
19:51:09 UTC (rev 14495) @@ -204,13 +204,12 @@
     if (!isset($hlt_color)) {
         $hlt_color = $color_string;
     }
-    if ($checkall == 1 || in_array($msg['ID'], $preselected))
+    if ($checkall == 1 || (isset($msg['ID']) && in_array($msg['ID'], $preselected)))
         $checked = ' checked="checked"';
     else
         $checked = '';
     $col = 0;
     $msg['SUBJECT'] = decodeHeader($msg['SUBJECT']);
-//    $subject = processSubject($msg['SUBJECT'], $indent_array[$msg['ID']]);
     $subject = sm_truncate_string(str_replace(' ',' ',$msg['SUBJECT']), \
$truncate_subject, '...', TRUE);  if (sizeof($index_order)) {
         foreach ($index_order as $index_order_part) {

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
-----
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