Possible work-around added to prevent fatal error if no admins-functions.php is loaded
authorRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 17:56:01 +0000 (17:56 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 17:56:01 +0000 (17:56 +0000)
inc/filters.php

index e5714e88b7017e4e2997ed51b7034428a821b842..4c22772bb1de156356b98a1c1b317dfa589ea26d 100644 (file)
@@ -502,7 +502,7 @@ function FILTER_CHECK_ADMIN_ACL () {
        $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'])) {