diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php index f4d6e4e..d1c9b86 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php @@ -65,9 +65,8 @@ class IHMParamTemplateClass if ($tmp_paramid != "") $tmp_paramid .= "_"; $tmp_paramid .= $expression_part; - if ($this->isTemplatedParam($tmp_paramid)) { + if ($this->isTemplatedParam($tmp_paramid) && strlen($tmp_paramid) > strlen($real_param_id)) { $real_param_id = $tmp_paramid; - break; } } -- libgit2 0.21.2