Skip to content

Commit

Permalink
Fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsx committed Apr 30, 2017
1 parent dd2b4ca commit 112ffd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 112ffd0

Please sign in to comment.