aboutsummaryrefslogtreecommitdiff
path: root/outboxPost.go
diff options
context:
space:
mode:
Diffstat (limited to 'outboxPost.go')
-rw-r--r--outboxPost.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/outboxPost.go b/outboxPost.go
index e86703d..c5e582a 100644
--- a/outboxPost.go
+++ b/outboxPost.go
@@ -351,6 +351,7 @@ func ObjectFromForm(r *http.Request, db *sql.DB, obj ObjectBase) ObjectBase {
obj.TripCode = EscapeString(r.FormValue("tripcode"))
obj.Name = EscapeString(r.FormValue("subject"))
obj.Content = EscapeString(r.FormValue("comment"))
+ obj.Sensitive = (r.FormValue("sensitive") != "")
obj = ParseOptions(r, obj)