diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php index c290e0b..bf32117 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamTemplateClass.php @@ -106,6 +106,11 @@ class IHMParamTemplateClass $template_args = array(); $i = 0; foreach ($template_args_info["arguments"] as $arg_key => $arg) { + if ($arg["type"] == "list") { + if (!array_key_exists($exploded_args[$i], $arg['items'])) { + return FALSE; + } + } $template_args[$arg_key] = $exploded_args[$i]; ++$i; } -- libgit2 0.21.2