summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 13:51:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 13:51:34 +0000
commitb35ed2ea2b21d7673f6706dd04166438b42bf046 (patch)
tree1e3053eff3053cc8f905dfe39c032cf38a70c52c /app/models
parentc6e8f537bd5636395f1fdfdd1193a62b321bfeb5 (diff)
downloadredmine-b35ed2ea2b21d7673f6706dd04166438b42bf046.tar.gz
redmine-b35ed2ea2b21d7673f6706dd04166438b42bf046.zip
Use a CustomFieldValue instead of CustomValue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13774 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/custom_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index 0c9ad61f7..761e30c5f 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -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