From 8d745cbef9da5a6c523417ff8b7046f0ec2666f3 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 16 Nov 2016 12:07:51 +0100 Subject: [PATCH] Follow up: WIP issue #368 - OTRS tickets are created without an assigned customer user. --- lib/import/otrs.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/import/otrs.rb b/lib/import/otrs.rb index 50f8582b5..eb5a6971e 100644 --- a/lib/import/otrs.rb +++ b/lib/import/otrs.rb @@ -1599,10 +1599,9 @@ module Import::OTRS user_id = 1 articles.each { |article| next if article['sender'] != 'customer' - next if article['created_by_id'].to_i != 1 next if article['from'].empty? - user_id = article['created_by_id'] + user_id = article['created_by_id'].to_i break }