mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Fix: prevent duplicate array value in ParseConfig()
This commit is contained in:
		@@ -427,6 +427,7 @@ function ParseConfig($arrConfig)
 | 
			
		||||
    foreach ($arrConfig as $line) {
 | 
			
		||||
        $line = trim($line);
 | 
			
		||||
        if ($line == "" || $line[0] == "#") {
 | 
			
		||||
            $config[$option] = null;
 | 
			
		||||
            continue;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user