mirror of
https://github.com/redmine/redmine.git
synced 2026-07-06 08:59:20 +02:00
Use a CustomFieldValue instead of CustomValue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13774 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -249,7 +249,7 @@ class CustomField < ActiveRecord::Base
|
||||
|
||||
# Returns the error messages for the default custom field value
|
||||
def validate_field_value(value)
|
||||
validate_custom_value(CustomValue.new(:custom_field => self, :value => value))
|
||||
validate_custom_value(CustomFieldValue.new(:custom_field => self, :value => value))
|
||||
end
|
||||
|
||||
# Returns true if value is a valid value for the custom field
|
||||
|
||||
Reference in New Issue
Block a user