Browse Source

work on #754

pull/761/head
Unknwon 10 years ago
parent
commit
0a697517ac
  1. 3
      routers/user/home.go

3
routers/user/home.go

@ -213,6 +213,9 @@ func Profile(ctx *middleware.Context) {
// FIXME: cache results? // FIXME: cache results?
u, err := models.GetUserByName(act.ActUserName) u, err := models.GetUserByName(act.ActUserName)
if err != nil { if err != nil {
if err == models.ErrUserNotExist {
continue
}
ctx.Handle(500, "GetUserByName", err) ctx.Handle(500, "GetUserByName", err)
return return
} }

Loading…
Cancel
Save