Merge branch '3229-Error-SQL-en-vista-de-Agente-return-dev' into 'develop'
Fixed sql error with empty array in agent view See merge request artica/pandorafms!2060 Former-commit-id: 897fd643b155185a38c27ede9ad460ed3187e6cc
This commit is contained in:
commit
11f07d213b
|
@ -808,8 +808,11 @@ function tags_get_acl_tags_event_condition($acltags, $meta = false, $force_group
|
|||
$tags_condition = $group_condition . " AND (" . implode(" OR ", $tags_condition_array) . ")";
|
||||
$condition[] = "($tags_condition)\n";
|
||||
}
|
||||
|
||||
if (!empty($condition)) {
|
||||
$condition = implode(' OR ', $condition);
|
||||
} else {
|
||||
$condition = '';
|
||||
}
|
||||
|
||||
if (!empty($without_tags)) {
|
||||
|
|
Loading…
Reference in New Issue