mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
LSconfig :: get() : Fixed notice PHP
This commit is contained in:
parent
699d69d23d
commit
2d6caf2fd5
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class LSconfig {
|
||||||
if(is_array($vars)) {
|
if(is_array($vars)) {
|
||||||
$data=self :: $data;
|
$data=self :: $data;
|
||||||
foreach ($vars as $v) {
|
foreach ($vars as $v) {
|
||||||
|
if (!isset($data[$v])) return;
|
||||||
$data=$data[$v];
|
$data=$data[$v];
|
||||||
}
|
}
|
||||||
return $data;
|
return $data;
|
||||||
|
|
Loading…
Reference in a new issue