Browse Source

E_ALL notice removal

Thijs Kinkhorst 22 years ago
parent
commit
9c129d3265
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -799,7 +799,7 @@ function sqimap_mailbox_tree($imap_stream) {
             if (($unseen_notify == 2 && $mbx == 'INBOX') ||
             if (($unseen_notify == 2 && $mbx == 'INBOX') ||
                 ($unseen_notify == 3) ||
                 ($unseen_notify == 3) ||
                 ($move_to_trash && ($mbx == $trash_folder))) {
                 ($move_to_trash && ($mbx == $trash_folder))) {
-                if($sorted_lsub_ary[$i]['noselect']) {
+                if(isset($sorted_lsub_ary[$i]['noselect']) && $sorted_lsub_ary[$i]['noselect']) {
                     $sorted_lsub_ary[$i]['unseen'] = 0;
                     $sorted_lsub_ary[$i]['unseen'] = 0;
                 } else {
                 } else {
                     $sorted_lsub_ary[$i]['unseen'] = 
                     $sorted_lsub_ary[$i]['unseen'] =