mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
see previous commit for more details
Former-commit-id: e88246203ffc492ffa39e8d20ed19cac7abd52c2
This commit is contained in:
parent
f05ee872d0
commit
39b180b14c
|
@ -90,7 +90,7 @@ func convertTmplToHandler(tmpl *macro.Template) context.Handler {
|
|||
}
|
||||
|
||||
// first, check for type evaluator.
|
||||
newValue, passed := p.TypeEvaluator(ctx.Parms().Get(p.Name))
|
||||
newValue, passed := p.TypeEvaluator(ctx.Params().Get(p.Name))
|
||||
if !passed {
|
||||
ctx.StatusCode(p.ErrCode)
|
||||
ctx.StopExecution()
|
||||
|
|
Loading…
Reference in New Issue
Block a user