motion-prime/sections/form.rb in motion-prime-0.8.4 vs motion-prime/sections/form.rb in motion-prime-0.8.5
- old
+ new
@@ -245,10 +245,10 @@
init_form_headers
reset_data_stamps
end
def init_form_headers
- options = Array.wrap(self.class.group_header_options).clone
+ options = Array.wrap(self.class.group_header_options).map(&:clone)
options.compact.each { |opts| normalize_options(opts) }
self.group_header_options = options.delete_if.each_with_index { |opts, id| grouped_data[id].nil? }
end
end
end
\ No newline at end of file