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
Fix err not being nil
for-closed-social
Flare
8 years ago
parent
fd6be0d17e
commit
a6c487f6ca
No known key found for this signature in database
GPG Key ID:
762EE3D369C1A772
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
models/issue.go
+ 1
- 0
models/issue.go
View File
@ -99,6 +99,7 @@ func (issue *Issue) loadAttributes(e Engine) (err error) {
if
!
IsErrUserNotExist
(
err
)
{
if
!
IsErrUserNotExist
(
err
)
{
return
fmt
.
Errorf
(
"getUserByID.(poster) [%d]: %v"
,
issue
.
PosterID
,
err
)
return
fmt
.
Errorf
(
"getUserByID.(poster) [%d]: %v"
,
issue
.
PosterID
,
err
)
}
}
err
=
nil
return
return
}
}
}
}
Write
Preview
Loading…
Cancel
Save