More extension-depending menus secured
[mailer.git] / inc / modules / member / action-bank.php
index 0e60f78b6b754c2479e2aa760f57c5ae80e51030..459b46d1765c4fc3cf1e761b8b0cda47a486bf7f 100644 (file)
@@ -37,6 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif (!EXT_IS_ACTIVE("bank")) {
+       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "bank");
+       return;
 } elseif ($BLOCK_MODE) {
        // Block mode detected
        return;