[dev] small mailbox fix

Vilius Šumskas vilius at lnk.lt
Mon May 30 06:36:05 PDT 2005


Hello,

this fixes undefined variable error when there are messages flaged 
"Low" in current folder.

-- 
  Best Regards,

  Vilius
-------------- next part --------------
Index: mailbox.php
===================================================================
RCS file: /repository/imp/mailbox.php,v
retrieving revision 2.633
diff -u -r2.633 mailbox.php
--- mailbox.php	20 May 2005 01:54:28 -0000	2.633
+++ mailbox.php	30 May 2005 13:32:30 -0000
@@ -696,7 +696,7 @@
             $msg['bg'] = 'important';
         } elseif ($xprio == 'low') {
             $msg['status'] .= Horde::img('mail_priority_low.png', _("Low Priority"));
-            if ($style[0] == 'b') {
+            if (isset($style[0]) && $style[0] == 'b') {
                 $style = array();
             }
         }


More information about the dev mailing list