]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-main.php
moved into
[mailer.git] / inc / modules / member / action-main.php
index 3117c2cec8191e20572499a5b02ac1b2dda3e0ef..190fd08e98183ff7d9b39257f8d9bf98a5cb521b 100644 (file)
@@ -37,7 +37,7 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
-} elseif ($BLOCK_MODE) {
+} elseif ($GLOBALS['block_mode']) {
        // Block mode detected
        return;
 }
@@ -51,7 +51,7 @@ if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the member action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('MEMBER_404_ACTION'), $GLOBALS['what']));
 }
 
 //