diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-13 12:46:35 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-13 12:46:35 -0700 |
commit | 76040e1c5cd9b00db383cefeb488af7004c0df02 (patch) | |
tree | 4fe51da5150dba0143821fb6ad6d9e15fbfa6fa8 | |
parent | 8d569ebc74b932fab0e1a725febddf92d43d2892 (diff) |
fixing typo
-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 f7c3cca..8b09e3d 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -528,7 +528,7 @@ func deleteHandler(res http.ResponseWriter, req *http.Request) { return } - err := db.DeleteContent(t + ":" + i) + err := db.DeleteContent(t + ":" + id) if err != nil { res.WriteHeader(http.StatusInternalServerError) return |