Save changes set by x-zammad-ticket-followup-* headers.

This commit is contained in:
Martin Edenhofer 2016-04-12 17:08:26 +02:00
parent ea9e323df3
commit fb25016c8e

View file

@ -398,6 +398,9 @@ retrns
if ticket if ticket
set_attributes_by_x_headers(ticket, 'ticket', mail, 'followup') 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 = Ticket::State.find(ticket.state_id)
state_type = Ticket::StateType.find(state.state_type_id) state_type = Ticket::StateType.find(state.state_type_id)