From d901c7155ab0626816953cdad9c3490f26b78a19 Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Mon, 21 Sep 2020 15:22:04 +0200 Subject: [PATCH] Fix Calc Papedruck --- src/Engine.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Engine.php b/src/Engine.php index e5a8889..b2c8255 100644 --- a/src/Engine.php +++ b/src/Engine.php @@ -68,6 +68,9 @@ class Engine { $this->articles = new \ArrayIterator(); $this->xml = simplexml_load_string($string); + $this->activeArticle = false; + $this->calcVariables = []; + $this->variables = []; $this->parse(); return true; }