]> git.mxchange.org Git - mailer.git/blobdiff - inc/db/lib-mysql3.php
Possible fix
[mailer.git] / inc / db / lib-mysql3.php
index e11f335446711f138efd577d25edb2e31caa661e..465e0d5b2c790c602bbf58be38eab47c5244cdc9 100644 (file)
@@ -104,7 +104,7 @@ Query string:<br />
        incrementConfigEntry('sql_count');
 
        // Debug output
-       if ((getOutputMode() != 1) && (isDebugModeEnabled()) && (getConfig('DEBUG_SQL') == 'Y')) {
+       if ((getOutputMode() != 1) && (isDebugModeEnabled()) && (isConfigEntrySet('DEBUG_SQL')) && (getConfig('DEBUG_SQL') == 'Y')) {
                //
                // Debugging stuff...
                //