From 97d1c981f9153786a5a31ce6f0253b2b620b6040 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 4 Sep 2018 15:43:08 +0200 Subject: [PATCH] Fix bug with a templated parameter of a templated parameter (#6098) --- src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php index 79c969f..199e79f 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php @@ -162,6 +162,10 @@ class IHMParamManagerClass } else { $linkedParamId = $this->templateParamsManager->replaceArgs($linkedParamId, $templateArgs); + $parsedParam = $this->templateParamsManager->parseTemplatedParam($linkedParamId); + if ($parsedParam !== FALSE) { + $linkedParamId = $parsedParam['paramid']; + } } if ($this->templateParamsManager->isTemplatedParam($linkedParamId)) { -- libgit2 0.21.2