diff options
Diffstat (limited to 'modules/context/utils.go')
-rw-r--r-- | modules/context/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/utils.go b/modules/context/utils.go index aea51cc5d6..a72c8b47e6 100644 --- a/modules/context/utils.go +++ b/modules/context/utils.go @@ -52,5 +52,5 @@ func parseTime(value string) (int64, error) { func prepareQueryArg(ctx *Context, name string) (value string, err error) { value, err = url.PathUnescape(ctx.FormString(name)) value = strings.TrimSpace(value) - return + return value, err } |