Fixed bug in event list.

This commit is contained in:
Vanessa Gil 2014-11-20 15:36:29 +01:00
parent 381a526bf3
commit a7092b145a
1 changed files with 2 additions and 2 deletions

View File

@ -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); $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 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; return false;
} }