From fb25016c8ee46ffb504e31ebedd5b3c273b66ad3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 12 Apr 2016 17:08:26 +0200 Subject: [PATCH] Save changes set by x-zammad-ticket-followup-* headers. --- app/models/channel/email_parser.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/channel/email_parser.rb b/app/models/channel/email_parser.rb index b2830cb6e..0ae5bc9bc 100644 --- a/app/models/channel/email_parser.rb +++ b/app/models/channel/email_parser.rb @@ -398,6 +398,9 @@ retrns if ticket set_attributes_by_x_headers(ticket, 'ticket', mail, 'followup') + # save changes set by x-zammad-ticket-followup-* headers + ticket.save if ticket.changed? + state = Ticket::State.find(ticket.state_id) state_type = Ticket::StateType.find(state.state_type_id)