reopen_issue_on_email.patch

Max Khon, 2011-03-25 15:54

Download (586 Bytes)

View differences:

app/models/mail_handler.rb Fri Mar 25 13:36:18 2011 +0600
155 155
    issue.safe_attributes = issue_attributes_from_keywords(issue)
156 156
    issue.safe_attributes = {'custom_field_values' => custom_field_values_from_keywords(issue)}
157 157
    add_attachments(issue)
158
    if issue.closed?
159
      issue.status = IssueStatus.default
160
    end
158 161
    issue.save!
159 162
    logger.info "MailHandler: issue ##{issue.id} updated by #{user}" if logger && logger.info
160 163
    journal