Browse Source

And again... another PHP 4.3 fix

jangliss 22 năm trước cách đây
mục cha
commit
c16e3d9c99
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      functions/mailbox_display.php

+ 4 - 0
functions/mailbox_display.php

@@ -362,6 +362,10 @@ function showMessagesForMailbox($imapConnection, $mailbox, $num_msgs,
         $msort = array();
     }
 
+    if (!isset($msgs)) {
+        $msgs = array();
+    }
+
     $start = microtime();
     /* If autoexpunge is turned on, then do it now. */
     $mbxresponse = sqimap_mailbox_select($imapConnection, $mailbox);