X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=debug.php;h=44af72c5451d0dfb5510ca0c5afea756002b84eb;hp=55381b148a5c67ea035713cb1471bdb9398c2c01;hb=4b7f401f2a4680ae46ca41c57f749cfe35163660;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa diff --git a/debug.php b/debug.php index 55381b148a..44af72c545 100644 --- a/debug.php +++ b/debug.php @@ -48,7 +48,7 @@ $GLOBALS['output_mode'] = -1; require('inc/config-global.php'); // Redirect only to registration page when this script is installed -if ((isExtensionActive('debug')) && (getTotalFatalErrors() == '0')) { +if ((isExtensionActive('debug')) && (!ifFatalErrorsDetected())) { // Is the request parameter set? if (isPostRequestParameterSet('request')) { // Handle the request