small fix for radiogroup
This commit is contained in:
parent
ee7954594e
commit
18d1e2561f
|
@ -211,7 +211,7 @@ class Admin::SurveysController < OrbitAdminController
|
|||
if radiogroup.respond_to?(key + '_translations')
|
||||
new_radiogroup.send(key + '_translations=', value)
|
||||
else
|
||||
new_radiogroup.write_attribute(key, value) rescue nil
|
||||
new_radiogroup[key] = value
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue