]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/other_filter.php
Extension ext-forced continued:
[mailer.git] / inc / filter / other_filter.php
index 029483e975e31e872749b4d5dcf533dbd4a2cb08..5b99edde38cb33104a4448a62a7050d7ff659c13 100644 (file)
@@ -41,17 +41,17 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter for debugging SQLs
-function FILTER_DISPLAY_DEBUG_SQL ($data) {
+function FILTER_DISPLAY_DEBUG_SQL ($filterData) {
        // Shall we display SQL queries?
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
+       if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (!isGetRequestElementSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
                // Then display it here
                displayDebugSqls();
        } // END - if
 
        // Return data
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
-       return $data;
+       return $filterData;
 }
 
 // [EOF]