initialize $second var in order to prevent variable abuse in rg=on and fix
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Nov 2005 09:10:24 +0000 (09:10 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Nov 2005 09:10:24 +0000 (09:10 +0000)
other e_notice error reported by Cor.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10264 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/view_header.php

index 837edfdfef5195069d6fd043473209494c23783f..3dc2ab6a98bc903cdb173c7ab217877f082a6c28 100644 (file)
@@ -27,6 +27,7 @@ require_once(SM_PATH . 'functions/url_parser.php');
 function parse_viewheader($imapConnection,$id, $passed_ent_id) {
 
     $header_output = array();
+    $second = array();
 
     if (!$passed_ent_id) {
         $read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]",