Rewritten/fixed (damn, missed them...)
[mailer.git] / inc / fatal_errors.php
index 52323fe8c8dbe9caa09304a566c670689f9d0aee..98f8a8c6083070ab8a3b7896114f64c222bafa78 100644 (file)
@@ -46,7 +46,7 @@ if (getTotalFatalErrors() > 0) {
        if (isBooleanConstantAndTrue('mxchange_installing')) {
                // While we are installing ouput other header than while it is installed... :-)
                $OUT = "";
-               foreach ($FATAL as $key => $value) {
+               foreach (getFatalArray() as $key => $value) {
                        // Prepare content for the template
                        $content = array(
                                'key'   => ($key + 1),
@@ -62,7 +62,7 @@ if (getTotalFatalErrors() > 0) {
        } elseif (isBooleanConstantAndTrue('mxchange_installed')) {
                // Display all runtime fatal errors
                $OUT = "";
-               foreach ($FATAL as $key => $value) {
+               foreach (getFatalArray() as $key => $value) {
                        // Prepare content for the template
                        $content = array(
                                'key'   => ($key + 1),