Save changes set by x-zammad-ticket-followup-* headers.
This commit is contained in:
parent
ea9e323df3
commit
fb25016c8e
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue