diff options
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r-- | routers/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 822d77c719..c7fee92906 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -660,7 +660,7 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm) } if setting.AttachmentEnabled { - attachments = form.Attachments + attachments = form.Files } if ctx.HasError() { |