mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 16:19:06 +01:00
LSconfig :: get(): add array casting (using ensureIsArray())
This commit is contained in:
parent
2abc369c73
commit
8b292f538d
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ class LSconfig {
|
|||
return floatval($value);
|
||||
case 'string':
|
||||
return strval($value);
|
||||
case 'array':
|
||||
return ensureIsArray($value);
|
||||
default:
|
||||
return $value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue