1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for token filtering

This commit is contained in:
David Bomba 2023-07-08 20:31:22 +10:00
parent f2bd338bfc
commit 2eee50bbe9

View File

@ -37,9 +37,9 @@ class TokenFilters extends QueryFilters
}
public function is_system(bool $value = false): Builder
public function is_system(string $value = 'false'): Builder
{
return $this->builder->where('is_system', $value);
return $this->builder->where('is_system', $value == 'false' ? false : true);
}
/**