Remove default for when changing custom field format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11397 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-02-15 10:43:56 +00:00
parent 32bf0f03ef
commit 3277d59e5c
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ class CustomFieldsController < ApplicationController
@custom_field = CustomField.new_subclass_instance(params[:type], params[:custom_field])
if @custom_field.nil?
render_404
else
@custom_field.default_value = nil
end
end