##// END OF EJS Templates
Email handler: set a default issue subject if the email subject is blank (#3850)....
Jean-Philippe Lang -
r2759:275b555b0974
parent child
Show More
@@ -121,6 +121,9 class MailHandler < ActionMailer::Base
121 121 issue.status = status
122 122 end
123 123 issue.subject = email.subject.chomp.toutf8
124 if issue.subject.blank?
125 issue.subject = '(no subject)'
126 end
124 127 issue.description = plain_text_body
125 128 # custom fields
126 129 issue.custom_field_values = issue.available_custom_fields.inject({}) do |h, c|
General Comments 0
You need to be logged in to leave comments. Login now