isEmpty like condition
This commit is contained in:
parent
05c19b6ec5
commit
a31ab24a58
|
@ -1033,7 +1033,7 @@ class Query extends Component implements QueryInterface
|
||||||
*/
|
*/
|
||||||
protected function isEmpty($value)
|
protected function isEmpty($value)
|
||||||
{
|
{
|
||||||
return $value === '' || $value === [] || $value === null || is_string($value) && trim($value) === '';
|
return $value === '' || $value === [] || $value === null || is_string($value) && (trim($value) === '' || trim($value, '%') === '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue