X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fother_filter.php;h=c07ded331051337c8a676e9a0a22093a90075604;hb=da5c63bacddced77a951cbe7b223f314885a6c87;hp=17fa7113c9a1c223b4c67840880c57f67acda788;hpb=24dfd21baed6a9a112992bdabf7da96576012bc4;p=mailer.git diff --git a/inc/filter/other_filter.php b/inc/filter/other_filter.php index 17fa7113c9..c07ded3310 100644 --- a/inc/filter/other_filter.php +++ b/inc/filter/other_filter.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -41,12 +41,17 @@ if (!defined('__SECURITY')) { } // END - if // Filter for debugging SQLs -function FILTER_DISPLAY_DEBUG_SQL () { +function FILTER_DISPLAY_DEBUG_SQL ($filterData) { // Shall we display SQL queries? - if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (isFullPage()) && ($GLOBALS['__header_sent'] == 2)) { // Then display it here displayDebugSqls(); } // END - if + + // Return data + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); + return $filterData; } // [EOF]