From a775ae5f668d8a0cff4a34b6a7151ec2eb3364fc Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 6 Dec 2021 14:45:00 +0100 Subject: [PATCH] Also process mixin rules --- library/Icinga/Less/Visitor.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Icinga/Less/Visitor.php b/library/Icinga/Less/Visitor.php index a28379692..347d1bbbc 100644 --- a/library/Icinga/Less/Visitor.php +++ b/library/Icinga/Less/Visitor.php @@ -92,6 +92,8 @@ class Visitor extends Less_VisitorReplacing $p['value'] = $this->visitObj($p['value']); } + $m->rules = $this->visitArray($m->rules); + $this->definingMixin = spl_object_hash($m); return $m;