Fixed bug in event list.
This commit is contained in:
parent
381a526bf3
commit
a7092b145a
|
@ -1233,7 +1233,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;
|
||||
}
|
||||
|
||||
|
@ -1257,4 +1257,4 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags = array(), $c
|
|||
}
|
||||
return false;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue