From ed4726b10562102dbe399ed0467c95fc786ff3b0 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 29 Oct 2016 14:26:56 -0700 Subject: adding defauld status to form map --- system/admin/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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") -- cgit v1.2.3