Fix avoid unexistent tag in tevent acl check
This commit is contained in:
parent
128be1f9d1
commit
92287916eb
|
@ -1448,8 +1448,10 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags = array(), $c
|
|||
if (!empty($tags)) {
|
||||
foreach ($tags as $tag) {
|
||||
$tag_id = tags_get_id($tag);
|
||||
if (isset($tag_id)&& ($tag_id !== false)) {
|
||||
$tags_aux[$tag_id] = $tag_id;
|
||||
}
|
||||
}
|
||||
$tags_str = implode(',', $tags_aux);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue