Follow up: WIP issue #368 - OTRS tickets are created without an assigned customer user.
This commit is contained in:
parent
24da432aec
commit
8d745cbef9
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue