diff options
Diffstat (limited to 'models/issue_xref.go')
-rw-r--r-- | models/issue_xref.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/issue_xref.go b/models/issue_xref.go index fdabedf29a..7b2f097c1c 100644 --- a/models/issue_xref.go +++ b/models/issue_xref.go @@ -195,7 +195,8 @@ func (issue *Issue) updateCrossReferenceList(list []*crossReference, xref *cross // verifyReferencedIssue will check if the referenced issue exists, and whether the doer has permission to do what func (issue *Issue) verifyReferencedIssue(stdCtx context.Context, ctx *crossReferencesContext, repo *repo_model.Repository, - ref references.IssueReference) (*Issue, references.XRefAction, error) { + ref references.IssueReference, +) (*Issue, references.XRefAction, error) { refIssue := &Issue{RepoID: repo.ID, Index: ref.Index} refAction := ref.Action e := db.GetEngine(stdCtx) |