Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 71bc2dd

Browse files
author
Josh Cave
committed
bool param better
1 parent a2fedaf commit 71bc2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func (ctx *Context) URLBoolParam(key string) bool {
209209
if val == "✓" {
210210
return true
211211
}
212-
return false
212+
return strconv.ParseBool(val)
213213
}
214214

215215
func (ctx *Context) URLIntParamWithDefault(key string, deefault int) int {

0 commit comments

Comments
 (0)