]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-stats.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / modules / member / action-stats.php
index c7e9111a816d9aaa8d0e6449158de7acb0d34c44..19587857c94052baf3ee910cf757e1679e2ff131 100644 (file)
@@ -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']));
 }
 
 //