X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=ecce7b10fc9b496d47a9541ea7a4a2586d4fb148;hb=939bce138060b727dc96764df88fbb8e4e7049c7;hp=14c40c14407c9fd3c25af811398058ecb69f11b3;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php index 14c40c1440..ecce7b10fc 100644 --- a/inc/modules/member/what-themes.php +++ b/inc/modules/member/what-themes.php @@ -37,10 +37,13 @@ if (!defined('__SECURITY')) { require($INC); } elseif (!IS_MEMBER()) { LOAD_URL("modules.php?module=index"); +} elseif (!EXT_IS_ACTIVE("theme")) { + ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "theme"); + return; } // Add description as navigation point -ADD_DESCR("member", basename(__FILE__)); +ADD_DESCR("member", __FILE__); if (!empty($_POST['member_theme'])) { // Save theme to member's profile