Fixed bug: Empty given parameter overwrites/removes group access structure.

This commit is contained in:
Thorsten Eckel 2018-02-28 12:58:10 +01:00
parent 77ec399fe9
commit 16d89b1fa7

View file

@ -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)