Fixed bug in event list.
This commit is contained in:
parent
c873fd6993
commit
7f542c1093
|
@ -1207,6 +1207,10 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags = array(), $c
|
|||
$id_user = $config['id_user'];
|
||||
}
|
||||
|
||||
if (users_is_admin($id_user)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$tags_user = tags_get_acl_tags($id_user, $id_group, $access, 'data', '', '', true, $childrens_ids, true);
|
||||
// If there are wrong parameters or fail ACL check, return false
|
||||
if ($tags_user === ERR_WRONG_PARAMETERS || $tags_user === ERR_ACL) {
|
||||
|
|
Loading…
Reference in New Issue