aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/lists/lists.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go
index ae1ec65..b77120e 100644
--- a/modules/lists/lists.go
+++ b/modules/lists/lists.go
@@ -263,7 +263,11 @@ func (m *Module) addGrilToList(w http.ResponseWriter, r *http.Request, p httprou
263} 263}
264 264
265func (m *Module) displayCreateList(w http.ResponseWriter, r *http.Request, p httprouter.Params) { 265func (m *Module) displayCreateList(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
266 user, _ := m.g.Charakterin.GetUserFromRequest(r) 266 user, err := m.g.Charakterin.GetUserFromRequest(r)
267 if err != nil {
268 http.Redirect(w, r, "/", 302)
269 return
270 }
267 271
268 data := m.g.Renderer.DefaultData() 272 data := m.g.Renderer.DefaultData()
269 data["user"] = user 273 data["user"] = user