Skip to content

Commit 2f8e859

Browse files
committed
Fixes #502
1 parent 284220a commit 2f8e859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3992,7 +3992,7 @@ public static function fromString(ReflectedTable $table, String $value): Conditi
39923992
$condition = new NoCondition();
39933993
$parts = explode(',', $value, 3);
39943994
if (count($parts) < 2) {
3995-
return null;
3995+
return $condition;
39963996
}
39973997
if (count($parts) < 3) {
39983998
$parts[2] = '';
@@ -4345,7 +4345,7 @@ private function addConditionFromFilterPath(PathTree $conditions, array $path, R
43454345
if (isset($params[$key])) {
43464346
foreach ($params[$key] as $filter) {
43474347
$condition = Condition::fromString($table, $filter);
4348-
if ($condition != null) {
4348+
if (($condition instanceof NoCondition) == false) {
43494349
$conditions->put($path, $condition);
43504350
}
43514351
}

0 commit comments

Comments
 (0)