projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git]
/
inc
/
modules
/
member
/
what-sponsor.php
diff --git
a/inc/modules/member/what-sponsor.php
b/inc/modules/member/what-sponsor.php
index 059429d87f07d29fd10df565797cd0ee2a567536..6a39e181a62bde86bf40da4ae0cf2c8eb4b5f07f 100644
(file)
--- a/
inc/modules/member/what-sponsor.php
+++ b/
inc/modules/member/what-sponsor.php
@@
-36,7
+36,7
@@
if (!defined('__SECURITY')) {
require($INC);
} elseif (!IS_MEMBER()) {
LOAD_URL(URL."/modules.php?module=index");
-} elseif (
!EXT_IS_ACTIVE("sponsor"
)) {
+} elseif (
(!EXT_IS_ACTIVE("sponsor")) && (!IS_ADMIN()
)) {
ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
return;
}