mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Ensure query parameter is a string
This commit is contained in:
parent
108aa22387
commit
c08cdc4927
@ -81,7 +81,7 @@ abstract class QueryFilters
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($value)) {
|
if (is_string($value) && strlen($value)) {
|
||||||
$this->$name($value);
|
$this->$name($value);
|
||||||
} else {
|
} else {
|
||||||
$this->$name();
|
$this->$name();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user