From a3a2e97f18f2edf42bbf468c56aa226c0cf5176a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 20 Jun 2014 13:01:10 +0200 Subject: [PATCH] FilterQueryString: just cleaning up a little bit --- library/Icinga/Data/Filter/FilterQueryString.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Icinga/Data/Filter/FilterQueryString.php b/library/Icinga/Data/Filter/FilterQueryString.php index ba8af9850..e4fddfc58 100644 --- a/library/Icinga/Data/Filter/FilterQueryString.php +++ b/library/Icinga/Data/Filter/FilterQueryString.php @@ -151,7 +151,6 @@ class FilterQueryString if ($next === ')') { if ($nestingLevel > 0) { - echo "Got )
"; break; } $this->parseError($next); @@ -162,7 +161,6 @@ class FilterQueryString } $this->parseError($next); } - } if ($nestingLevel === 0 && count($filters) === 1) { @@ -177,6 +175,7 @@ class FilterQueryString case '&': return Filter::matchAll($filters); case '|': return Filter::matchAny($filters); case '!': return Filter::not($filters); + case null: return Filter::matchAll(); default: $this->parseError($op); } }