Merge branch '1867-errores-en-vista-de-eventos-con-usuario-con-tags-tmb' into 'develop'
Fix avoid unexistent tag in tevent acl check See merge request artica/pandorafms!1297
This commit is contained in:
commit
ef3ec1238a
|
@ -1448,7 +1448,9 @@ 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);
|
||||
$tags_aux[$tag_id] = $tag_id;
|
||||
if (isset($tag_id)&& ($tag_id !== false)) {
|
||||
$tags_aux[$tag_id] = $tag_id;
|
||||
}
|
||||
}
|
||||
$tags_str = implode(',', $tags_aux);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue