aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/repo/pull.go')
-rw-r--r--internal/route/repo/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/repo/pull.go b/internal/route/repo/pull.go
index 52e7281a..b819857b 100644
--- a/internal/route/repo/pull.go
+++ b/internal/route/repo/pull.go
@@ -677,7 +677,7 @@ func CompareAndPullRequestPost(c *context.Context, f form.NewIssue) {
return
}
- if conf.AttachmentEnabled {
+ if conf.Attachment.Enabled {
attachments = f.Files
}