X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fother_functions.php;h=958d92a882c9d72c326654b4d7eaf0cbda79541a;hb=5736dfb1b51bff78b3594a166f350e76784fa0ff;hp=ae30baba48187eb69b0910a9a37f734237b05339;hpb=32fed28f469610c8bfdec7f18089cceea9e15df0;p=mailer.git diff --git a/inc/libs/other_functions.php b/inc/libs/other_functions.php index ae30baba48..958d92a882 100644 --- a/inc/libs/other_functions.php +++ b/inc/libs/other_functions.php @@ -65,7 +65,7 @@ function displayDebugSqls () { // 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') && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) { + if ((isAdmin()) && (isDisplayDebugSqlEnabled()) && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) { // Then display it here displayDebugSqls(); } // END - if