diff options
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r-- | models/issue_comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go index e23fae6715..3f2ee8b7d9 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -1129,7 +1129,7 @@ func getCommitIDsFromRepo(repo *Repository, oldCommitID, newCommitID, baseBranch return nil, false, err } - if oldCommitBranch == "undefined" { + if oldCommitBranch == "" { commitIDs = make([]string, 2) commitIDs[0] = oldCommitID commitIDs[1] = newCommitID |