Commit bf5e40e9266921253e5255da557981a529d5d1dc
1 parent
50c6fa3a
Exists in
master
and in
50 other branches
Fix bug with defaut arg. value of a templated parameter
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php
@@ -293,7 +293,7 @@ class IHMParamTemplateClass | @@ -293,7 +293,7 @@ class IHMParamTemplateClass | ||
293 | return; | 293 | return; |
294 | foreach ($arguments as $arg_key => $arg_def) { | 294 | foreach ($arguments as $arg_key => $arg_def) { |
295 | if (!array_key_exists($arg_key, $template_args)) | 295 | if (!array_key_exists($arg_key, $template_args)) |
296 | - $template_args[$arg_key] = $arg_def['default']; | 296 | + $template_args->{$arg_key} = $arg_def['default']; |
297 | } | 297 | } |
298 | } | 298 | } |
299 | 299 |