Fixed bug: Wrong next statement since rubocop cop 'Style/Next' correction.
This commit is contained in:
parent
a87e98a50e
commit
be2ebf438d
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue