mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed bug in event list.
This commit is contained in:
parent
bda09a22e1
commit
afadc5b0bb
@ -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…
x
Reference in New Issue
Block a user