We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ed226 commit bf3b432Copy full SHA for bf3b432
1 file changed
src/Filters/QueryMatchFilter.php
@@ -64,7 +64,7 @@ public function filter($collection): array
64
if (AccessHelper::keyExists($value, $key, $this->magicIsAllowed)) {
65
$value1 = AccessHelper::getValue($value, $key, $this->magicIsAllowed);
66
} elseif (str_contains($key, '.')) {
67
- $value1 = (new JSONPath($value))->find($key)->getData()[0];
+ $value1 = (new JSONPath($value))->find($key)->getData()[0] ?? '';
68
}
69
if ($value1) {
70
if ($operator === null && $value1) {
0 commit comments