]> git.mxchange.org Git - mailer.git/blobdiff - inc/footer.php
All database names are now 'back-ticked' and constant _MYSQL_PREFIX is wrapped. Partl...
[mailer.git] / inc / footer.php
index 9a7b05ffd9cf30f4762cb641013d379bbab64638..c32e5cdbde0ddffcf0f740394787a26d8744d89f 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Global variable stuff
-global $link, $frame, $CSS, $header;
+global $link, $frame, $CSS, $header, $footer;
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
@@ -40,12 +40,10 @@ if (!defined('__SECURITY')) {
        require($INC);
 } // END - if
 
-// @TODO Workaround for css.php
-if (!isset($footer)) $footer = 0;
-
+// Footer disabled or already sent?
 if (($footer != "1") && ($footer != "2") && ($CSS != "1")) {
        // Output the generated HTML code or do nothing in direct-mode
-       if (getTotalFatalMessages() > 0) {
+       if (getTotalFatalErrors() > 0) {
                // Output fatal error messages
                require_once(PATH."inc/fatal_errors.php");
        } // END - if