diff --git a/fs2zammad b/fs2zammad index 3586ed6..728c9af 100755 --- a/fs2zammad +++ b/fs2zammad @@ -228,7 +228,7 @@ def create_zammad_ticket(id, zammad, h2t): # without giving its author 'Agent' privileges. restore_creator_to = None 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"] zammad_ticket_id = zammad_ticket["id"]