From 49ffe0a4fb551d0965e97db1ad4ff12f13f4b9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 8 Feb 2009 17:34:51 +0000 Subject: [PATCH] getTotalFatalErrors() is now the right name --- inc/databases.php | 2 +- inc/footer.php | 2 +- inc/functions.php | 2 +- inc/modules/guest/what-login.php | 2 +- install.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index cf6373d440..308c476b9b 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -97,7 +97,7 @@ define('START_TDAY', MAKE_TIME(0, 0, 0, time())); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "720"); +define('CURR_SVN_REVISION', "721"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/footer.php b/inc/footer.php index 84dcbd0eed..c32e5cdbde 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -43,7 +43,7 @@ if (!defined('__SECURITY')) { // 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 diff --git a/inc/functions.php b/inc/functions.php index 03d6b7d1ae..f1af163a8f 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -199,7 +199,7 @@ function addFatalMessage ($message, $extra="") { } // Getter for total fatal message count -function getTotalFatalMessages () { +function getTotalFatalErrors () { global $FATAL; // Init coun diff --git a/inc/modules/guest/what-login.php b/inc/modules/guest/what-login.php index 23d2f9df8b..b3693ca257 100644 --- a/inc/modules/guest/what-login.php +++ b/inc/modules/guest/what-login.php @@ -162,7 +162,7 @@ if (EXT_IS_ACTIVE("nickname")) { // Was an URL constructed? if (!empty($URL)) { // URL was constructed - if (getTotalFatalErrorMessages()) { + if (getTotalFatalErrors()) { // Fatal errors! require_once(PATH."inc/fatal_errors.php"); } else { diff --git a/install.php b/install.php index 4a7366a5de..a700f22dab 100644 --- a/install.php +++ b/install.php @@ -76,7 +76,7 @@ if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTru } // END - if // Does something goes wrong? -if (getTotalFatalMessages() == 0) { +if (getTotalFatalErrors() == 0) { // Add main installation table LOAD_TEMPLATE("install_header"); -- 2.30.2