diff --git a/wdm.go b/wdm.go index ab37e88..5d1a393 100644 --- a/wdm.go +++ b/wdm.go @@ -525,6 +525,7 @@ func updateMeasureHandler(writer http.ResponseWriter, req *http.Request) { } var mea Measure if req.Form["kurz"] != nil { + mea.Id, _ = strconv.ParseUint(req.FormValue("id"), 10, 0) mea.Kurz = req.FormValue("kurz") mea.Brust, _ = strconv.ParseFloat(req.FormValue("brust"), 64) mea.LaengeT, _ = strconv.ParseFloat(req.FormValue("laenget"), 64)