Fixed bug in event list.
This commit is contained in:
parent
a8a68335b8
commit
8c2a19fc53
|
@ -1235,7 +1235,7 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags = array(), $c
|
|||
$tags_user = tags_get_acl_tags($id_user, $id_group, $access, 'data', '', '', false, $childrens_ids);
|
||||
|
||||
// If there are wrong parameters or fail ACL check, return false
|
||||
if($tags_user === ERR_WRONG_PARAMETERS || $acls === ERR_ACL) {
|
||||
if($tags_user === ERR_WRONG_PARAMETERS || $tags_user === ERR_ACL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue