$first should not cause e_notice errors, but it still can be abused
[squirrelmail.git] / src / view_header.php
index 5a0ddf25cb5eaf4ed93fb5d33c11d56e1f98a759..824c69f4ac1b52a31b786dd22367f3cb10617290 100644 (file)
@@ -26,6 +26,10 @@ require_once(SM_PATH . 'functions/url_parser.php');
 
 function parse_viewheader($imapConnection,$id, $passed_ent_id) {
 
+    $header_output = array();
+    $second = array();
+    $first = array();
+
     if (!$passed_ent_id) {
         $read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]",
                               true, $a, $b, TRUE);
@@ -129,4 +133,4 @@ $mbx_response = sqimap_mailbox_select($imapConnection, $mailbox, false, false, t
 $header = parse_viewheader($imapConnection,$passed_id, $passed_ent_id);
 view_header($header, $mailbox, $color);
 
-?>
\ No newline at end of file
+?>