X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-sponsor.php;h=323eea8bf1aa0bdefc053dcc51996c20a902cbee;hb=701f5ac005404813e0e546102b5821f2ba2af522;hp=df18e405970a269791e87dbef04ebba93fe0515e;hpb=641ca2a3526aa0612781dddf83dd77dbb003adff;p=mailer.git diff --git a/inc/modules/guest/action-sponsor.php b/inc/modules/guest/action-sponsor.php index df18e40597..323eea8bf1 100644 --- a/inc/modules/guest/action-sponsor.php +++ b/inc/modules/guest/action-sponsor.php @@ -35,7 +35,7 @@ if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php"; require($INC); } elseif ((!EXT_IS_ACTIVE("sponsor")) && (!IS_ADMIN())) { - ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor"); + addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor"); return; } elseif ($BLOCK_MODE) { // Block mode detected @@ -51,9 +51,9 @@ if (FILE_READABLE($INC)) { // Ok, we finally load the guest action module include($INC); } elseif ($IS_VALID) { - ADD_FATAL(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what']))); + addFatalMessage(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what']))); } else { - ADD_FATAL(sprintf(getMessage('GUEST_LOCKED_ACTION'), SQL_ESCAPE($GLOBALS['what']))); + addFatalMessage(sprintf(getMessage('GUEST_LOCKED_ACTION'), SQL_ESCAPE($GLOBALS['what']))); } //