From b9d116b6637ef3f2addbf532975bb7f5a22ea386 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 13 Mar 2009 02:32:11 +0000 Subject: [PATCH] Fix for displayed timings if sql_patches is removed --- inc/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/footer.php b/inc/footer.php index 8d2aa6fcf7..3e945565b5 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -65,7 +65,7 @@ if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != "1") && } // END - if // Shall we display the parsing time and number of queries? - if ((getConfig('show_timings') == "Y") && (!REQUEST_ISSET_GET(('frame'))) && ($GLOBALS['header_sent'] == "2")) { + if ((GET_EXT_VERSION("sql_patches") >= "0.4.1") && (getConfig('show_timings') == "Y") && (!REQUEST_ISSET_GET(('frame'))) && ($GLOBALS['header_sent'] == "2")) { // Then display it here DISPLAY_PARSING_TIME_FOOTER(); } // END - if -- 2.39.5