mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed tags in events
This commit is contained in:
parent
86abd75206
commit
76d996a966
@ -1151,7 +1151,12 @@ function events_get_all(
|
|||||||
$tags_names[$id_tag] = tags_get_name($id_tag);
|
$tags_names[$id_tag] = tags_get_name($id_tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
$_tmp .= ' AND ( ';
|
if ($tags[0] === $id_tag) {
|
||||||
|
$_tmp .= ' AND ( ';
|
||||||
|
} else {
|
||||||
|
$_tmp .= ' OR ( ';
|
||||||
|
}
|
||||||
|
|
||||||
$_tmp .= sprintf(
|
$_tmp .= sprintf(
|
||||||
' tags LIKE "%s" OR',
|
' tags LIKE "%s" OR',
|
||||||
$tags_names[$id_tag]
|
$tags_names[$id_tag]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user