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 e5714e8..4c22772 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'])) {