We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fa998 commit 9224db0Copy full SHA for 9224db0
1 file changed
histou/template/parser.php
@@ -44,7 +44,7 @@ public static function parseSimpleTemplate($file)
44
foreach (array('host', 'service', 'command', 'perfLabel') as $type) {
45
if (preg_match(";^\s*$type\s*=\s*(.*?)$;", $line, $hit)) {
46
if ($type == 'perfLabel') {
47
- $ruleHits[$type] = str_getcsv($hit[1]);
+ $ruleHits[$type] = str_getcsv($hit[1],",", '"', '');
48
foreach ($ruleHits[$type] as &$label) {
49
$label = trim($label);
50
}
0 commit comments