]> git.mxchange.org Git - mailer.git/commitdiff
notice fix
authorRoland Häder <roland@mxchange.org>
Mon, 18 Feb 2008 22:09:40 +0000 (22:09 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 18 Feb 2008 22:09:40 +0000 (22:09 +0000)
inc/libs/admins_functions.php

index 210d88a80552a4fd56624725a0e06fe26997e8f0..fa205b2f54baed1d6d7bb7d1c73eaa1d5303c35e 100644 (file)
@@ -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) {