Fix failure on creating pull request with assignees (#4419) (#4583)

This commit is contained in:
SagePtr 2018-08-16 13:52:51 +02:00 committed by Lunny Xiao
parent 8273479b41
commit 50ce19eff7
2 changed files with 7 additions and 3 deletions

View file

@ -964,7 +964,7 @@ func newIssue(e *xorm.Session, doer *User, opts NewIssueOptions) (err error) {
// Insert the assignees
for _, assigneeID := range opts.AssigneeIDs {
err = opts.Issue.changeAssignee(e, doer, assigneeID)
err = opts.Issue.changeAssignee(e, doer, assigneeID, true)
if err != nil {
return err
}