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:
parent
5eea9ec61a
commit
406aa946e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue