projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for #1093360.
[squirrelmail.git]
/
functions
/
page_header.php
diff --git
a/functions/page_header.php
b/functions/page_header.php
index 25c1ff30a1c0c300de8d6dbccde2c914382211c4..93b7d8b3af2a26820d845fb9bf9d2f9bbfbc2d1c 100644
(file)
--- a/
functions/page_header.php
+++ b/
functions/page_header.php
@@
-34,7
+34,7
@@
include_once(SM_PATH . 'class/template/template.class.php');
* @return void
*/
function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE, $frames = FALSE ) {
* @return void
*/
function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE, $frames = FALSE ) {
- global $squirrelmail_language, $sTplDir;
+ global $squirrelmail_language, $sTplDir
, $oErroHandler
;
if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
global $base_uri;
if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
global $base_uri;
@@
-112,6
+112,9
@@
ECHO;
/* this is used to check elsewhere whether we should call this function */
$pageheader_sent = TRUE;
/* this is used to check elsewhere whether we should call this function */
$pageheader_sent = TRUE;
+ if (isset($oErrorHandler)) {
+ $oErrorHander->HeaderSent();
+ }
}
/**
}
/**