From: Roland Häder Date: Sat, 6 Jun 2009 17:56:01 +0000 (+0000) Subject: Possible work-around added to prevent fatal error if no admins-functions.php is loaded X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=33e11a76a6d2d20d20d54ed1a7380ed1375bd3ed Possible work-around added to prevent fatal error if no admins-functions.php is loaded --- 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'])) {