Defect #10721 » redmine_attachments_save.diff
| app/models/mail_handler.rb.orig → app/models/mail_handler.rb | ||
|---|---|---|
| 180 | 180 |
# add To and Cc as watchers before saving so the watchers can reply to Redmine |
| 181 | 181 |
add_watchers(issue) |
| 182 |
issue.save! |
|
| 183 | 182 |
add_attachments(issue) |
| 183 |
issue.save! |
|
| 184 | 184 |
logger.info "MailHandler: issue ##{issue.id} created by #{user}" if logger && logger.info
|
| 185 | 185 |
issue |
| 186 | 186 |
end |