Skip to content

Commit 69fd943

Browse files
committed
Fix from_to filter being seen as not-empty wrongfully
1 parent 2c2f434 commit 69fd943

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Grid/Filter/Filter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,8 @@ public function isEmpty(mixed $value): bool
9292
{
9393
if ($this->getConditionType() === 'from_to'
9494
&& is_array($value)
95-
&& isset($value['from'])
96-
&& isset($value['to'])
9795
&& empty($value['from'])
98-
&& !empty($value['to'])) {
96+
&& empty($value['to'])) {
9997
return true;
10098
}
10199

0 commit comments

Comments
 (0)