Defect #17217 » fix_empty_settings.patch
| app/controllers/settings_controller.rb | ||
|---|---|---|
| 67 | 67 |
else |
| 68 | 68 |
@partial = @plugin.settings[:partial] |
| 69 | 69 |
@settings = Setting.send "plugin_#{@plugin.id}"
|
| 70 |
settings_options = Setting.available_settings["plugin_#{@plugin.id}"] || {}
|
|
| 71 |
@settings = {} if @settings == "" && settings_options["serialized"]
|
|
| 70 | 72 |
end |
| 71 | 73 |
rescue Redmine::PluginNotFound |
| 72 | 74 |
render_404 |
- « Previous
- 1
- 2
- 3
- Next »