From: Roland Häder Date: Mon, 18 Feb 2008 22:09:40 +0000 (+0000) Subject: notice fix X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=74393eb1dd9dc9775caa7d38e590af76826bc54a;hp=52e8a0635bd0b7c653845685c55e4e5f251375fe notice fix --- diff --git a/inc/libs/admins_functions.php b/inc/libs/admins_functions.php index 210d88a805..fa205b2f54 100644 --- a/inc/libs/admins_functions.php +++ b/inc/libs/admins_functions.php @@ -82,7 +82,7 @@ function ADMINS_CHECK_ACL($act, $wht) { $lines = 0; $acl_mode = "failed"; if (GET_EXT_VERSION("cache") >= "0.1.2") { // Load only from array when there are lines! - if (count($cacheArray['admin_acls']) > 0) { + if ((isset($cacheArray['admin_acls'])) && (is_array($cacheArray['admin_acls'])) && (count($cacheArray['admin_acls']) > 0)) { // Load ACL from array foreach ($cacheArray['admin_acls']['admin_id'] as $id=>$aid_acls) { if ($aid == $aid_acls) {