X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=mailid_top.php;h=46b7a95310002fe54a4000e9d4aff639e195f596;hp=27da0b7caad766ad991ea81c62556912f36ea683;hb=3daede4c904e23905c3e48dd6749019deca0a0e0;hpb=c3b3af29e6e80926519ade146ac657c036782bd3 diff --git a/mailid_top.php b/mailid_top.php index 27da0b7caa..46b7a95310 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -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");