]> git.mxchange.org Git - mailer.git/blobdiff - debug.php
is not needed in member-only templates
[mailer.git] / debug.php
index 55381b148a5c67ea035713cb1471bdb9398c2c01..44af72c5451d0dfb5510ca0c5afea756002b84eb 100644 (file)
--- 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