Added tags_user for events responses
This commit is contained in:
parent
b77f6d4453
commit
3501efb0ad
|
@ -1367,6 +1367,8 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags=[], $children
|
||||||
|
|
||||||
if (!empty($tags_str)) {
|
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 {
|
} else {
|
||||||
$tag_conds = " AND tags = '' ";
|
$tag_conds = " AND tags = '' ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue