diff --git a/wdm.go b/wdm.go index 92157b4..5022ab2 100644 --- a/wdm.go +++ b/wdm.go @@ -742,9 +742,9 @@ func uploadFileHandler(writer http.ResponseWriter, req *http.Request) { defer f.Close() io.Copy(f, file) - pho[i].Pfad = handler.Filename - pho[i].ItembId = 0 - pho[i].ItemextId = 0 + pho[0].Pfad = handler.Filename + pho[0].ItembId = 0 + pho[0].ItemextId = 0 /* }