]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-order.php
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git] / inc / modules / member / action-order.php
index 3bb82fa2379c5e29f54b97ccd9bffa0ff1d6dc01..b546a774dad7722ec27e916df2bffd6160ae6ca5 100644 (file)
@@ -37,6 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("order")) && (!IS_ADMIN())) {
+       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "order");
+       return;
 } elseif ($BLOCK_MODE) {
        // Block mode detected
        return;