Fixes #possible_values for version custom field.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5353 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-04-07 16:11:29 +00:00
parent 5eea9ec61a
commit 406aa946e5
1 changed files with 1 additions and 1 deletions

View File

@ -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