mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-01 05:52:20 +08:00
#2246 fully support of webhooks for pull request
This commit is contained in:
@ -86,7 +86,7 @@ func (c *Comment) AfterSet(colName string, _ xorm.Cell) {
|
||||
if err != nil {
|
||||
if IsErrUserNotExist(err) {
|
||||
c.PosterID = -1
|
||||
c.Poster = NewFakeUser()
|
||||
c.Poster = NewGhostUser()
|
||||
} else {
|
||||
log.Error(3, "GetUserByID[%d]: %v", c.ID, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user