summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-29 14:26:56 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-29 14:26:56 -0700
commited4726b10562102dbe399ed0467c95fc786ff3b0 (patch)
treeb706732d6cf8834beb0a15b1f0329956e9395320 /system/admin/handlers.go
parente3d64b9fdb8f8b2b429254d48e8186712d534c22 (diff)
adding defauld status to form map
Diffstat (limited to 'system/admin/handlers.go')
-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 fb5a165..55e9e94 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -629,7 +629,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
if hasExt {
status := q.Get("status")
if status == "" {
- req.Form.Add("status", "")
+ req.Form.Add("status", "public")
}
req.Form.Set("status", "public")