From 900f8d6a4440c35b08959a589e04e792f8291aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Mon, 22 Apr 2024 17:32:59 +0200 Subject: [PATCH] [fs2zammad] fix small ticket creator logic bug --- fs2zammad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]