More extension-depending menus secured
[mailer.git] / inc / modules / member / what-bank_infos.php
index c5cffb56afb77b39cf6d75db602e82cb14743a5e..9316759fe2631703c9af8f4a258e173b381a8ed0 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;
 }
 
 // Add description as navigation point