From: Roland Häder <roland@mxchange.org>
Date: Fri, 13 Mar 2009 02:32:11 +0000 (+0000)
Subject: Fix for displayed timings if sql_patches is removed
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b9d116b6637ef3f2addbf532975bb7f5a22ea386;p=mailer.git

Fix for displayed timings if sql_patches is removed
---

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