diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-11 14:05:52 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-11 14:05:52 -0800 |
commit | 4ac51c12025de8e1a17788d34aa211d05ce8a48c (patch) | |
tree | 08a516547fd941ab7663778c1a82f97023740b06 /system/admin/handlers.go | |
parent | ad3572b01a17ff5a5d6722f097973f448261b2de (diff) |
fixing redeclaration of err in handler
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index a7d367b..71f88c2 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -2228,7 +2228,7 @@ func addonHandler(res http.ResponseWriter, req *http.Request) { } } - err := db.SetAddon(req.Form) + err = db.SetAddon(req.Form) if err != nil { log.Println("Error saving addon:", name, err) res.WriteHeader(http.StatusInternalServerError) |