]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Double->single rewrites and possible fixes for revision data
[mailer.git] / inc / libs / other_functions.php
index eefb919622133f6d86a4e1d0d3ba352b6ba58cea..42f6b03a91e36d99721e1d27557cdb7302f8a722 100644 (file)
@@ -62,13 +62,13 @@ function displayDebugSqls () {
        } // END - foreach
 
        // Load main template
-       loadTemplate('admin_other_sqls', false, $OUT);
+       $GLOBALS['page_footer'] .= loadTemplate('admin_other_sqls', true, $OUT);
 }
 
 // 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') && (!isGetRequestElementSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
+       if ((isAdmin()) && (isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y') && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
                // Then display it here
                displayDebugSqls();
        } // END - if