Fixed redmine bug where entire application fails when trying to access plugin setting, if all plugin settings were reset.
With all settings reset there is no params[:setting] in the POST request to settings controller, calling params[:setting].to_s caused empty string to be saved in place of the empty hash.
When accessing settings property empty string is evaluated to empty array [], thus the error 'Can't convert Symbol to Integer'