mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:34:30 -04:00
Fixes for settings check for type bool
This commit is contained in:
parent
da9aebd642
commit
570ffad29e
@ -361,6 +361,9 @@ class Client extends BaseModel implements HasLocalePreference
|
||||
if (is_string($this->settings->{$setting}) && (iconv_strlen($this->settings->{$setting}) >= 1)) {
|
||||
return $this->settings->{$setting};
|
||||
}
|
||||
elseif(is_bool($this->settings->{$setting})){
|
||||
return $this->settings->{$setting};
|
||||
}
|
||||
}
|
||||
|
||||
/*Group Settings*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user