diff options
-rw-r--r-- | system/admin/handlers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index e2309aa..e3d99cc 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -768,9 +768,10 @@ func adminPostListItem(p editor.Editable, t, status string) []byte { cid := fmt.Sprintf("%d", p.ContentID()) - if status == "public" { + switch status { + case "public", "": status = "" - } else { + default: status = "_" + status } |