From 49ae9d34c37a7a2927180f342d77ac7cb49aef8f Mon Sep 17 00:00:00 2001 From: jangliss Date: Tue, 25 Mar 2003 21:22:15 +0000 Subject: [PATCH] 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 --- functions/mailbox_display.php | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.25.1