From b4246036df25eb944354a6cdde8d7f775d8a3e7e Mon Sep 17 00:00:00 2001 From: jervfors Date: Sun, 22 May 2005 22:10:20 +0000 Subject: [PATCH] Initializing aHeaderFields to avoid notices git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9444 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 4c6de6d7..1ffe727c 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -302,6 +302,7 @@ function fetchMessageHeaders($imapConnection, &$aMailbox) { $iError = 0; $aFetchItems = $aHeaderItems = array(); // initialize the fields we want to retrieve: + $aHeaderFields = array(); foreach ($aFetchHeaders as $v) { switch ($v) { case SQM_COL_DATE: $aHeaderFields[] = 'Date'; break; @@ -1380,4 +1381,4 @@ function attachSelectedMessages($imapConnection,$aMsgHeaders) { return $composesession; } -?> +?> \ No newline at end of file -- 2.25.1