From e6c4caae3e2165a8fd4dcb7ecbb1c0cf99d172fb Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Thu, 6 Apr 2006 19:51:09 +0000 Subject: [PATCH] Fixed typo in error handling in displayHTMLHeader() git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11037 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index 9c60b63c..c88c78e7 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -27,7 +27,7 @@ include_once(SM_PATH . 'functions/imap_mailbox.php'); * @return void */ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE, $frames = FALSE ) { - global $squirrelmail_language, $sTplDir, $oErroHandler; + global $squirrelmail_language, $sTplDir, $oErrorHandler; if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) { global $base_uri; @@ -64,7 +64,6 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '') .(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n"; - // load custom style sheet (deprecated) if ( ! empty($theme_css) ) { echo "\n"; @@ -107,7 +106,7 @@ ECHO; /* this is used to check elsewhere whether we should call this function */ $pageheader_sent = TRUE; if (isset($oErrorHandler)) { - $oErrorHander->HeaderSent(); + $oErrorHandler->HeaderSent(); } } -- 2.25.1