1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-13 04:58:19 +00:00

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

This commit is contained in:
SagePtr
2018-08-16 19:46:06 +02:00
committed by techknowlogick
parent a345023d0a
commit 12c04a85f2
2 changed files with 7 additions and 3 deletions

View File

@@ -950,7 +950,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
}