Commit 0fa8cda
committed
Enforce call to context->param as scalar
This is a follow up to the problem fixed by #195.
When a parameter given in the argument list of a validator does
not exist this is evaluated as list context and the empty list
does not change the runtime_args with the consequence that the
position of the arguments changes in the list, breaking the
functionality of the validator.1 parent 8616fb3 commit 0fa8cda
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments