mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Fixed tags_check_acl when standar user have 'any' tag
This commit is contained in:
parent
42ad2cc924
commit
d25489f167
@ -1275,6 +1275,8 @@ function tags_check_acl($id_user, $id_group, $access, $tags = array(), $flag_id_
|
|||||||
|
|
||||||
if (in_array($tag, $acls[$group])) {
|
if (in_array($tag, $acls[$group])) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (empty($acls[$group])) {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user