From: Roland Häder Date: Sun, 6 Jun 2010 17:23:45 +0000 (+0000) Subject: Fix for comment #0000444 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=36ca6ba43169e0f3c74841b63560363ffc491cf8;p=mailer.git Fix for comment #0000444 --- diff --git a/inc/functions.php b/inc/functions.php index 6e3cda3de9..9a6014a05b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2362,10 +2362,13 @@ function app_die ($F, $L, $message) { loadIncludeOnce('inc/header.php'); // Rewrite message for output - $message = sprintf(getMessage('MXCHANGE_HAS_DIED'), basename($F), $L, $message); + $message = sprintf(getMessage('MAILER_HAS_DIED'), basename($F), $L, $message); - // Better log this message away - if ($F != 'debug_report_bug') logDebugMessage($F, $L, $message); + // We don't want to log messages from debug_report_bug() itself... + if ($F != 'debug_report_bug') { + // Better log this message away + logDebugMessage($F, $L, $message); + } // END - if // Load the message template loadTemplate('app_die_message', false, $message); @@ -2379,7 +2382,7 @@ function app_die ($F, $L, $message) { } // Display parsing time and number of SQL queries in footer -function displayParsingTime() { +function displayParsingTime () { // Is the timer started? if (!isset($GLOBALS['startTime'])) { // Abort here