From be2ebf438db2143583f385809fdfbae6dc7701ac Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 7 May 2015 13:45:06 +0200 Subject: [PATCH] Fixed bug: Wrong next statement since rubocop cop 'Style/Next' correction. --- lib/import/otrs2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/import/otrs2.rb b/lib/import/otrs2.rb index 0f5fbb729..c993572a6 100644 --- a/lib/import/otrs2.rb +++ b/lib/import/otrs2.rb @@ -1001,7 +1001,7 @@ module Import::OTRS2 groups.each {|group_lookup| next if group_id != group_lookup['ID'] - next if permissions + next if !permissions if group_lookup['Name'] == 'admin' && permissions.include?('rw') roles.push 'Admin'