From 33e11a76a6d2d20d20d54ed1a7380ed1375bd3ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 6 Jun 2009 17:56:01 +0000 Subject: [PATCH] Possible work-around added to prevent fatal error if no admins-functions.php is loaded --- inc/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/filters.php b/inc/filters.php index e5714e88b7..4c22772bb1 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -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'])) { -- 2.39.5