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

This commit is contained in:
SagePtr authored and Lunny Xiao committed 2018-08-16 19:52:51 +08:00
1 parent 8273479b41
commit 50ce19eff7
2 files changed
+7 -3

No files matched your search

+1 -1
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
}