Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/release/v1.20' into release/dc…
Browse files Browse the repository at this point in the history
…s/v1.20
  • Loading branch information
richmahn committed Oct 10, 2023
2 parents 600a9cd + e6d1afa commit 10a715f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/issue/issue.go
Expand Up @@ -53,6 +53,10 @@ func ChangeTitle(ctx context.Context, issue *issues_model.Issue, doer *user_mode
oldTitle := issue.Title
issue.Title = title

if oldTitle == title {
return nil
}

if err = issues_model.ChangeIssueTitle(ctx, issue, doer, oldTitle); err != nil {
return
}
Expand Down

0 comments on commit 10a715f

Please sign in to comment.