aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/handlers_sections.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/handlers_sections.go')
-rw-r--r--internal/web/handlers_sections.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/handlers_sections.go b/internal/web/handlers_sections.go
index 77ac90d..8d6c9c9 100644
--- a/internal/web/handlers_sections.go
+++ b/internal/web/handlers_sections.go
@@ -73,7 +73,7 @@ func (s *Server) handleSectionSave(w http.ResponseWriter, r *http.Request) {
fail := func(msg string) {
s.renderStatus(w, r, http.StatusBadRequest, "dashboard/section_form.html", map[string]any{"section": sec, "error": msg})
}
- img, err := s.readUpload(r, "inline_file", false)
+ img, err := s.readUpload(r, "body_file", false)
switch {
case err != nil:
fail(s.tr(r, "File not added:") + " " + err.Error())