diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php index fefa15d..5312e5c 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php @@ -161,6 +161,9 @@ class IHMParamManagerClass if ($template_id !== FALSE) { $linkedParamId = $template_id; } + else { + $linkedParamId = $this->templateParamsManager->replaceArgs($linkedParamId, $templateArgs); + } if ($this->templateParamsManager->isTemplatedParam($linkedParamId)) { $linkedParamPath = $this->templateParamsManager->generateTemplatedParamFile($linkedParamId, $templateArgs); diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php index a700da4..10133be 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php @@ -218,7 +218,7 @@ class IHMParamTemplateClass /* * @brief Replace args in string */ - private function replaceArgs($string, $template_args) { + public function replaceArgs($string, $template_args) { $result = $string; foreach ($template_args as $template_arg_key => $template_arg_value) { $result = str_replace("##".$template_arg_key."##", $template_arg_value, $result); -- libgit2 0.21.2