Skip to content
Snippets Groups Projects
Commit 87631a56 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a minor issue

parent d65f3684
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,10 @@ func pageImageDetail(ctx PageContext) http.Handler { ...@@ -43,6 +43,10 @@ func pageImageDetail(ctx PageContext) http.Handler {
panic(err) panic(err)
} }
for key, value := range r.PostForm {
fmt.Printf("%s: %s", key, value)
}
switch r.PostFormValue("action") { switch r.PostFormValue("action") {
case "update": case "update":
_, err = ctx.Database.Exec( _, err = ctx.Database.Exec(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment