E_ALL notice removal
[squirrelmail.git] / functions / imap_mailbox.php
index 2bb6468b9d8e676cc5c33360f71fe03aa2c431d4..a968dc19a7624bb65c6ec51236a3325323a5d0c3 100755 (executable)
@@ -799,7 +799,7 @@ function sqimap_mailbox_tree($imap_stream) {
             if (($unseen_notify == 2 && $mbx == 'INBOX') ||
                 ($unseen_notify == 3) ||
                 ($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;
                 } else {
                     $sorted_lsub_ary[$i]['unseen'] =