@@ -83,7 +83,7 class MailHandler < ActionMailer::Base | |||||
83 | # check permission |
|
83 | # check permission | |
84 | raise UnauthorizedAction unless user.allowed_to?(:add_issues, project) |
|
84 | raise UnauthorizedAction unless user.allowed_to?(:add_issues, project) | |
85 | issue = Issue.new(:author => user, :project => project, :tracker => tracker, :category => category, :priority => priority, :status => status) |
|
85 | issue = Issue.new(:author => user, :project => project, :tracker => tracker, :category => category, :priority => priority, :status => status) | |
86 | issue.subject = email.subject.chomp |
|
86 | issue.subject = email.subject.chomp.toutf8 | |
87 | issue.description = email.plain_text_body.chomp |
|
87 | issue.description = email.plain_text_body.chomp | |
88 | issue.save! |
|
88 | issue.save! | |
89 | add_attachments(issue) |
|
89 | add_attachments(issue) |
General Comments 0
You need to be logged in to leave comments.
Login now