doctype switched from quirks to standards compliance mode
[squirrelmail.git] / src / view_header.php
index 3dc2ab6a98bc903cdb173c7ab217877f082a6c28..d2a85ebfdbd7ae8ddf966e80731861abb6a57b14 100644 (file)
@@ -5,7 +5,7 @@
  *
  * This is the code to view the message header.
  *
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -18,7 +18,7 @@
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+include_once(SM_PATH . 'include/validate.php');
 require_once(SM_PATH . 'functions/global.php');
 require_once(SM_PATH . 'functions/imap.php');
 require_once(SM_PATH . 'functions/html.php');
@@ -28,6 +28,7 @@ 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]",
@@ -132,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