And again... another PHP 4.3 fix
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Mar 2003 21:22:15 +0000 (21:22 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Mar 2003 21:22:15 +0000 (21:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4678 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index c10f13e..e098e3b 100644 (file)
@@ -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);