Fix for infinite loop when trying to decode multi-part mime attachments
[squirrelmail.git] / functions / page_header.php
index 00c26d4f2f728365ebd698d5f539b67a0830dc3b..a658c6e5122ab28effa0c5a86abfaa21a90735ad 100644 (file)
@@ -25,7 +25,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
     global $theme_css, $custom_css;
 
     echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' .
-         "\n\n<html>\n<head>\n";
+         "\n\n" . html_tag( 'html' ,'' , '', '', '' ) . "\n<head>\n";
 
     if ( !isset( $custom_css ) || $custom_css == 'none' ) {
         if ($theme_css != '') {