mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-5492-Respuestas-eventos-no-disponibles-usuarios-con-tags' into 'develop'
Added tags_user for events responses Closes pandora_enterprise#5492 See merge request artica/pandorafms!3091
This commit is contained in:
commit
1cb6b8fa69
@ -1366,7 +1366,9 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags=[], $children
|
||||
$tag_conds = '';
|
||||
|
||||
if (!empty($tags_str)) {
|
||||
$tag_conds = " AND (tags IN ('$tags_str') OR tags = '') ";
|
||||
$tag_conds = " AND (tags IN ($tags_str) OR tags = '') ";
|
||||
} else if (!empty($tags_user)) {
|
||||
$tag_conds = " AND (tags IN ($tags_user) OR tags = '') ";
|
||||
} else {
|
||||
$tag_conds = " AND tags = '' ";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user