X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fother_functions.php;h=df627d4505ebfaf48c241ba77c4b6fbe6e61f24d;hb=af5059252c53c8802929611bf322ca4597b70146;hp=eefb919622133f6d86a4e1d0d3ba352b6ba58cea;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/libs/other_functions.php b/inc/libs/other_functions.php index eefb919622..df627d4505 100644 --- a/inc/libs/other_functions.php +++ b/inc/libs/other_functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -62,13 +63,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