summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index ed70ec13a8..a19dbb5cb3 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -911,7 +911,7 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm)
return
}
- if setting.AttachmentEnabled {
+ if setting.Attachment.Enabled {
attachments = form.Files
}