X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-main.php;h=50874082abd3a61bcd758cb81e63313ac62dcf9a;hp=7158a4cffbe73d33ef09679d9bcbd4defb77a6fc;hb=b8c86fa12322603c24a88ea2b0fd3dbeba612752;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6 diff --git a/inc/modules/member/action-main.php b/inc/modules/member/action-main.php index 7158a4cffb..50874082ab 100644 --- a/inc/modules/member/action-main.php +++ b/inc/modules/member/action-main.php @@ -47,11 +47,11 @@ ADD_DESCR("member", __FILE__); // Load the include file $INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (FILE_READABLE($INC)) { +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'])); } //