diff options
Diffstat (limited to 'modules/repofiles/action.go')
-rw-r--r-- | modules/repofiles/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repofiles/action.go b/modules/repofiles/action.go index 52cc89dbae..d7e3ff4525 100644 --- a/modules/repofiles/action.go +++ b/modules/repofiles/action.go @@ -201,7 +201,7 @@ func UpdateIssuesCommit(doer *models.User, repo *models.Repository, commits []*r continue } } - close := (ref.Action == references.XRefActionCloses) + close := ref.Action == references.XRefActionCloses if close && len(ref.TimeLog) > 0 { if err := issueAddTime(refIssue, doer, c.Timestamp, ref.TimeLog); err != nil { return err |