]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Even more array-element names fixed
[mailer.git] / inc / libs / other_functions.php
index ae30baba48187eb69b0910a9a37f734237b05339..958d92a882c9d72c326654b4d7eaf0cbda79541a 100644 (file)
@@ -65,7 +65,7 @@ function displayDebugSqls () {
 // Filter for debugging SQLs
 function FILTER_DISPLAY_DEBUG_SQL () {
        // Shall we display SQL queries?
-       if ((isAdmin()) && (isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y') && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
+       if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
                // Then display it here
                displayDebugSqls();
        } // END - if