From 505e1c7b0c0d9e9ef8d0f3880ffb8a374981e1e0 Mon Sep 17 00:00:00 2001 From: quix0r 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