projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
notice fix
[mailer.git]
/
inc
/
libs
/
admins_functions.php
diff --git
a/inc/libs/admins_functions.php
b/inc/libs/admins_functions.php
index 210d88a80552a4fd56624725a0e06fe26997e8f0..fa205b2f54baed1d6d7bb7d1c73eaa1d5303c35e 100644
(file)
--- 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!
$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) {
// Load ACL from array
foreach ($cacheArray['admin_acls']['admin_id'] as $id=>$aid_acls) {
if ($aid == $aid_acls) {