From c29a804f39d299c32532adf6d0a3e2938b5e9f11 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 26 Feb 2024 13:41:49 +0000 Subject: [PATCH] Fix bug --- src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php index dd4ea24..0f26c10 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php @@ -267,7 +267,7 @@ class IHMParamManagerClass //check templated parameter $real_param_id = $paramId; - $paramPath = ""; + $paramPath = ""; if ($this->templateParamsManager->isTemplatedParam($paramId)) { $paramPath = $this->templateParamsManager->generateTemplatedParamFile($paramId, $templateArgs, $tableLink); $real_param_id = $this->templateParamsManager->getTemplatedParamId($paramId, $templateArgs); @@ -292,7 +292,7 @@ class IHMParamManagerClass */ private function addLinkedLocalParams($paramId,$paramsData,$templateArgs = NULL) { - $doc = new DOMDocument("1.0", "UTF-8"); + $doc = new DOMDocument("1.0", "UTF-8"); $doc->preserveWhiteSpace = false; $doc->formatOutput = true; @@ -340,7 +340,7 @@ class IHMParamManagerClass } } - $this->addExistingParam($linkedParamId, $paramsData); + $this->addExistingParam($linkedParamId, $paramsData, $templateArgs); } } -- libgit2 0.21.2