This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
work on
#754
for-closed-social
Unknwon
10 years ago
parent
c4820f119d
commit
0a697517ac
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
}
Write
Preview
Loading…
Cancel
Save