From 112ffd03723a7cc26ad7be24bcdf6fe20299ab5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Santos?= Date: Mon, 1 May 2017 00:13:49 +0100 Subject: [PATCH] Fixes #58 --- default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.go b/default.go index 2a2a685..99e5808 100644 --- a/default.go +++ b/default.go @@ -53,7 +53,7 @@ func init() { "writeJson": reflect.ValueOf(jsonRenderer), "json": reflect.ValueOf(json.Marshal), "isset": reflect.ValueOf(Func(func(a Arguments) reflect.Value { - a.RequireNumOfArguments("isset", 1, 99999999999) + a.RequireNumOfArguments("isset", 1, -1) for i := 0; i < len(a.argExpr); i++ { if !a.runtime.isSet(a.argExpr[i]) { return valueBoolFALSE