mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
4e87d21726
commit
38957e340b
@ -162,7 +162,10 @@ class DbQuery extends SimpleQuery
|
|||||||
$parts = array();
|
$parts = array();
|
||||||
if (! $filter->isEmpty()) {
|
if (! $filter->isEmpty()) {
|
||||||
foreach ($filter->filters() as $f) {
|
foreach ($filter->filters() as $f) {
|
||||||
$parts[] = $this->renderFilter($f, $level + 1);
|
$filterPart = $this->renderFilter($f, $level + 1);
|
||||||
|
if ($filterPart !== '') {
|
||||||
|
$parts[] = $filterPart;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($level > 0) {
|
if ($level > 0) {
|
||||||
$str .= ' (' . implode($op, $parts) . ') ';
|
$str .= ' (' . implode($op, $parts) . ') ';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user