From 406aa946e52dc981cdd9d7f62e04defc4dfb28c7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 7 Apr 2011 16:11:29 +0000 Subject: [PATCH] Fixes #possible_values for version custom field. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5353 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/custom_field.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index 2762f0ee2..a09674df0 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -68,7 +68,7 @@ class CustomField < ActiveRecord::Base def possible_values(obj=nil) case field_format - when 'user' + when 'user', 'version' possible_values_options(obj).collect(&:last) else read_attribute :possible_values -- 2.39.5