Skip to content

Commit 326e848

Browse files
author
Marius Burkard
committed
- added check for array element in installer lib
1 parent b5cfa3d commit 326e848

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/lib/install.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ function ini_to_array($ini) {
644644
$section = strtolower($matches[1]);
645645
} elseif(preg_match("/^([\w\d_]+)=(.*)$/", $line, $matches) && $section != null) {
646646
$item = trim($matches[1]);
647+
if(!isset($config[$section])) $config[$section] = array();
647648
$config[$section][$item] = trim($matches[2]);
648649
}
649650
}

0 commit comments

Comments
 (0)