Commit 97d1c981f9153786a5a31ce6f0253b2b620b6040

Authored by Benjamin Renard
1 parent 2dc32857

Fix bug with a templated parameter of a templated parameter (#6098)

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php
... ... @@ -162,6 +162,10 @@ class IHMParamManagerClass
162 162 }
163 163 else {
164 164 $linkedParamId = $this->templateParamsManager->replaceArgs($linkedParamId, $templateArgs);
  165 + $parsedParam = $this->templateParamsManager->parseTemplatedParam($linkedParamId);
  166 + if ($parsedParam !== FALSE) {
  167 + $linkedParamId = $parsedParam['paramid'];
  168 + }
165 169 }
166 170  
167 171 if ($this->templateParamsManager->isTemplatedParam($linkedParamId)) {
... ...