Initializing aHeaderFields to avoid notices
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 May 2005 22:10:20 +0000 (22:10 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 May 2005 22:10:20 +0000 (22:10 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9444 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 4c6de6d..1ffe727 100644 (file)
@@ -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