X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=debug.php;h=44af72c5451d0dfb5510ca0c5afea756002b84eb;hb=c85ddc06cc16f2cd38ddd7d4c142a3f578bbab69;hp=55381b148a5c67ea035713cb1471bdb9398c2c01;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git 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