]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / mailid_top.php
index 27da0b7caad766ad991ea81c62556912f36ea683..46b7a95310002fe54a4000e9d4aff639e195f596 100644 (file)
@@ -48,7 +48,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Is the extension active
        if (!EXT_IS_ACTIVE("mailid", true)) {
                // Is not activated/installed yet!
-               ADD_FATAL(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "mailid"));
+               addFatalMessage(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "mailid"));
        } // END - if
 
        // Secure all data
@@ -59,8 +59,8 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        if (!empty($_GET['code']))    $code    = bigintval($_GET['code']);
        if (!empty($_GET['mode']))    $mode    = $_GET['mode'];
 
-       // 01        1        12            2    2            21    1     2      2     10
-       if (($url_uid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (count($FATAL) == 0)) {
+       // 01        1        12            2    2            21    1                   22     10
+       if (($url_uid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErrors() == 0)) {
                // No image? Then output header
                if ($mode != "img") require_once(PATH."inc/header.php");