From 05a1255a30576b21fa7a6b93031f5a7d495971f7 Mon Sep 17 00:00:00 2001 From: Georg Spar Date: Fri, 23 Jun 2023 20:13:24 +0200 Subject: [PATCH] pho[0] --- wdm.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 /* }