From: jangliss Date: Tue, 25 Mar 2003 21:22:15 +0000 (+0000) Subject: And again... another PHP 4.3 fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=49ae9d34c37a7a2927180f342d77ac7cb49aef8f;p=squirrelmail.git And again... another PHP 4.3 fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4678 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index c10f13e3..e098e3b3 100644 --- a/functions/mailbox_display.php +++ b/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);