summaryrefslogtreecommitdiffstats
path: root/web/params.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/params.go')
-rw-r--r--web/params.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/params.go b/web/params.go
index 286c3f44f..e97b206ab 100644
--- a/web/params.go
+++ b/web/params.go
@@ -173,7 +173,7 @@ func ParamsFromRequest(r *http.Request) *Params {
params.Page = val
}
- if val, err := strconv.ParseBool(query.Get("permanent")); err != nil {
+ if val, err := strconv.ParseBool(query.Get("permanent")); err == nil {
params.Permanent = val
}