diff --git a/library/Icingadb/Model/CustomvarFlat.php b/library/Icingadb/Model/CustomvarFlat.php index 7b9733dd..c293a95f 100644 --- a/library/Icingadb/Model/CustomvarFlat.php +++ b/library/Icingadb/Model/CustomvarFlat.php @@ -185,7 +185,7 @@ class CustomvarFlat extends Model $path = array_merge( [$realName], $sourcePath - ? preg_split('/(?<=\w|])\.|(? "cba", - "[4]" => "four" + "[4]" => "four", + "disks" => [ + "disk /" => ["disk_partitions" => "result"] + ], + "test" => [ + "con[0]cat" => [ + "foo[1]bar" => ["foo[2]bar" => "result"] + ] + ] ]; public function testUnflatteningOfEmptyCustomVariables()