LSconfig :: get() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:41:14 +01:00
parent 699d69d23d
commit 2d6caf2fd5

View file

@ -61,6 +61,7 @@ class LSconfig {
if(is_array($vars)) {
$data=self :: $data;
foreach ($vars as $v) {
if (!isset($data[$v])) return;
$data=$data[$v];
}
return $data;