Browse Source

work on #754

tags/v1.2.0-rc1
Unknwon 11 years ago
parent
commit
0a697517ac
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      routers/user/home.go

+ 3
- 0
routers/user/home.go View File

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


Loading…
Cancel
Save