]> git.mxchange.org Git - mailer.git/commitdiff
Fix for displayed timings if sql_patches is removed
authorRoland Häder <roland@mxchange.org>
Fri, 13 Mar 2009 02:32:11 +0000 (02:32 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 13 Mar 2009 02:32:11 +0000 (02:32 +0000)
inc/footer.php

index 8d2aa6fcf731f104a96a3992423029c865667ef1..3e945565b563eb051675d2279940429084c61120 100644 (file)
@@ -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