diff --git a/library/Icinga/File/Ini/IniParser.php b/library/Icinga/File/Ini/IniParser.php index 279aa45260..6a8b52b6af 100644 --- a/library/Icinga/File/Ini/IniParser.php +++ b/library/Icinga/File/Ini/IniParser.php @@ -153,7 +153,7 @@ public static function parseIni($str) $state = self::LINE_START; $line ++; } elseif ($s === ';') { - $state = self::COMMENT; + $state = self::COMMENT_END; } } else { $token .= $s;