summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-11-08 19:01:55 -0800
committerSteve Manuel <nilslice@gmail.com>2016-11-08 19:01:55 -0800
commit6b727270a9b861118c4bc3629a59ddf109030293 (patch)
tree67d93389a42a50e20a3a70ac6c48811737fd1a00
parent255c182d32cd8e9d243142ab08ef4865375a5e7c (diff)
fixing redirect to cleaned type
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 65d846d..a6e636b 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -1309,7 +1309,7 @@ func deleteHandler(res http.ResponseWriter, req *http.Request) {
}
redir := strings.TrimSuffix(req.URL.Scheme+req.URL.Host+req.URL.Path, "/edit/delete")
- redir = redir + "/posts?type=" + t
+ redir = redir + "/posts?type=" + ct
http.Redirect(res, req, redir, http.StatusFound)
}