]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-bank.php
Fixes for stripped HTML tags, and false warnings in debug log
[mailer.git] / inc / modules / member / action-bank.php
index 8aad93494685c344ab9f847e09e4c3cee88bc088..5aa1df14400424fcde458d848f910426dfaae26a 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
 } elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
-       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "bank");
+       addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "bank");
        return;
 } elseif ($BLOCK_MODE) {
        // Block mode detected
@@ -50,7 +50,7 @@ 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 {