Skip to content

Commit 81aa939

Browse files
author
Till Brehm
committed
Ensure that config array is empty in ini parser.
1 parent fa1371e commit 81aa939

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/lib/classes/ini_parser.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class ini_parser{
3434

3535
//* Converts a ini string to array
3636
public function parse_ini_string($ini) {
37+
$this->config = array();
3738
$ini = str_replace("\r\n", "\n", $ini);
3839
$lines = explode("\n", $ini);
3940
foreach($lines as $line) {

0 commit comments

Comments
 (0)