瀏覽代碼

E_ALL notice removal

Thijs Kinkhorst 22 年之前
父節點
當前提交
9c129d3265
共有 1 個文件被更改,包括 1 次插入1 次删除
  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') ||
                 ($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'] =