@@ -68,6 +68,8 class CustomFieldsController < ApplicationController | |||||
68 | @custom_field = CustomField.new_subclass_instance(params[:type], params[:custom_field]) |
|
68 | @custom_field = CustomField.new_subclass_instance(params[:type], params[:custom_field]) | |
69 | if @custom_field.nil? |
|
69 | if @custom_field.nil? | |
70 | render_404 |
|
70 | render_404 | |
|
71 | else | |||
|
72 | @custom_field.default_value = nil | |||
71 | end |
|
73 | end | |
72 | end |
|
74 | end | |
73 |
|
75 |
General Comments 0
You need to be logged in to leave comments.
Login now