X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-logout.php;h=186f716c5160a21011e501fa2b8158afe8e70052;hb=d32a5a6c4e9287611853e7187a5d6d1b05794bdb;hp=aa2526f736aaead65b6bcd8936169f4bbeec47e1;hpb=deb4293fa309b70be72d66b394e7253c8ea7d351;p=mailer.git diff --git a/inc/modules/member/action-logout.php b/inc/modules/member/action-logout.php index aa2526f736..186f716c51 100644 --- a/inc/modules/member/action-logout.php +++ b/inc/modules/member/action-logout.php @@ -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'])); } //