mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-07 21:17:44 +03:00
Fix bug
This commit is contained in:
parent
aca3361a5f
commit
37ce867443
@ -1321,6 +1321,7 @@ func UpdateIssueNumComments(ctx context.Context, issueID int64) error {
|
||||
_, err := db.GetEngine(ctx).
|
||||
SetExpr("num_comments", countCommentsBuilder).
|
||||
ID(issueID).
|
||||
NoAutoTime().
|
||||
Update(new(Issue))
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user