Fixed bug: Empty given parameter overwrites/removes group access structure.
This commit is contained in:
parent
77ec399fe9
commit
16d89b1fa7
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ returns
|
|||
groups: :group_names_access_map=,
|
||||
group_ids: :group_ids_access_map=
|
||||
}.each do |param, setter|
|
||||
next if !params.key?(param)
|
||||
map = params[param]
|
||||
next if !respond_to?(setter)
|
||||
send(setter, map)
|
||||
|
|
Loading…
Reference in a new issue