} // 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