projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31f7298
)
Possible work-around added to prevent fatal error if no admins-functions.php is loaded
author
Roland Häder
<roland@mxchange.org>
Sat, 6 Jun 2009 17:56:01 +0000
(17:56 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 6 Jun 2009 17:56:01 +0000
(17:56 +0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index e5714e88b7017e4e2997ed51b7034428a821b842..4c22772bb1de156356b98a1c1b317dfa589ea26d 100644
(file)
--- a/
inc/filters.php
+++ b/
inc/filters.php
@@
-502,7
+502,7
@@
function FILTER_CHECK_ADMIN_ACL () {
$ret = true;
// Ok, Cookie-Update done
$ret = true;
// Ok, Cookie-Update done
- if (
GET_EXT_VERSION('admins') >= '0.3.0'
) {
+ if (
(GET_EXT_VERSION('admins') >= '0.3.0') && (EXT_IS_ACTIVE('admins'))
) {
// Check if action GET variable was set
$action = SQL_ESCAPE($GLOBALS['action']);
if (!empty($GLOBALS['what'])) {
// Check if action GET variable was set
$action = SQL_ESCAPE($GLOBALS['action']);
if (!empty($GLOBALS['what'])) {