Commit 9cce1f21812ab09f0ef9c86051fb4220489755ad
1 parent
4ea6a045
Exists in
master
and in
45 other branches
Fix bug in param template detection (#9046)
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php
... | ... | @@ -65,9 +65,8 @@ class IHMParamTemplateClass |
65 | 65 | if ($tmp_paramid != "") |
66 | 66 | $tmp_paramid .= "_"; |
67 | 67 | $tmp_paramid .= $expression_part; |
68 | - if ($this->isTemplatedParam($tmp_paramid)) { | |
68 | + if ($this->isTemplatedParam($tmp_paramid) && strlen($tmp_paramid) > strlen($real_param_id)) { | |
69 | 69 | $real_param_id = $tmp_paramid; |
70 | - break; | |
71 | 70 | } |
72 | 71 | } |
73 | 72 | ... | ... |