X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-bank_deposit.php;h=481440f3eb757a12c20d756c765ea4dfead7f214;hp=c5cffb56afb77b39cf6d75db602e82cb14743a5e;hb=c78089215285d52d483760699d07a96dfbbe0671;hpb=357b2ca133fc1f89db74097955c366cb4bee6996 diff --git a/inc/modules/member/what-bank_deposit.php b/inc/modules/member/what-bank_deposit.php index c5cffb56af..481440f3eb 100644 --- a/inc/modules/member/what-bank_deposit.php +++ b/inc/modules/member/what-bank_deposit.php @@ -4,7 +4,7 @@ * ================ Last change: 01/07/2004 * * * * -------------------------------------------------------------------- * - * File : what- * + * File : what-bank_deposit.php * * -------------------------------------------------------------------- * * Short description : * * -------------------------------------------------------------------- * @@ -37,6 +37,9 @@ if (!defined('__SECURITY')) { require($INC); } elseif (!IS_MEMBER()) { LOAD_URL("modules.php?module=index"); +} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) { + addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "bank"); + return; } // Add description as navigation point