]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-sponsor.php
More bugs resolved, thanks to profi-concept
[mailer.git] / inc / modules / member / what-sponsor.php
index 6a39e181a62bde86bf40da4ae0cf2c8eb4b5f07f..fa65035f3a13fb6d21302e2646247e93f805bc5d 100644 (file)
@@ -35,9 +35,9 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
        require($INC);
 } elseif (!IS_MEMBER()) {
-       LOAD_URL(URL."/modules.php?module=index");
+       LOAD_URL("modules.php?module=index");
 } elseif ((!EXT_IS_ACTIVE("sponsor")) && (!IS_ADMIN())) {
-       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
+       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
        return;
 }