forked from fnux/rt2zammad
[fs2zammad] fix small ticket creator logic bug
This commit is contained in:
parent
8e8ff86f9f
commit
900f8d6a44
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ def create_zammad_ticket(id, zammad, h2t):
|
||||||
# without giving its author 'Agent' privileges.
|
# without giving its author 'Agent' privileges.
|
||||||
restore_creator_to = None
|
restore_creator_to = None
|
||||||
if entry_creator_id != zammad_ticket["customer_id"]:
|
if entry_creator_id != zammad_ticket["customer_id"]:
|
||||||
zammad_ticket = zammad.ticket.update(zammad_ticket["id"], {"customer_id": entry_creator_id})
|
zammad.ticket.update(zammad_ticket["id"], {"customer_id": entry_creator_id})
|
||||||
restore_creator_to = zammad_ticket["customer_id"]
|
restore_creator_to = zammad_ticket["customer_id"]
|
||||||
|
|
||||||
zammad_ticket_id = zammad_ticket["id"]
|
zammad_ticket_id = zammad_ticket["id"]
|
||||||
|
|
Loading…
Reference in a new issue