1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Ensure query parameter is a string

This commit is contained in:
David Bomba 2022-05-27 12:17:59 +10:00
parent 108aa22387
commit c08cdc4927

View File

@ -81,7 +81,7 @@ abstract class QueryFilters
continue;
}
if (strlen($value)) {
if (is_string($value) && strlen($value)) {
$this->$name($value);
} else {
$this->$name();