Skip to content

Commit 11754a1

Browse files
committed
Also change GetWorkInProgressPrefix()
1 parent 93ed7a0 commit 11754a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ func (pr *PullRequest) GetWorkInProgressPrefix() string {
609609
}
610610

611611
for _, prefix := range setting.Repository.PullRequest.WorkInProgressPrefixes {
612-
if strings.HasPrefix(strings.ToUpper(pr.Issue.Title), prefix) {
612+
if strings.HasPrefix(strings.ToUpper(pr.Issue.Title), strings.ToUpper(prefix)) {
613613
return pr.Issue.Title[0:len(prefix)]
614614
}
615615
}

0 commit comments

Comments
 (0)