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 c10f13e358f34b9c5814cfc129dbb709fa758e7e..e098e3b3fa0797a3def0c8f9c373f65cd15767cb 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);