]> source.dussan.org Git - redmine.git/commitdiff
Fixes #possible_values for version custom field.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Apr 2011 16:11:29 +0000 (16:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Apr 2011 16:11:29 +0000 (16:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5353 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/custom_field.rb

index 2762f0ee2ab7e4caf8320c5b9d7c7e8b2260fd94..a09674df01745e1acb47f4e290cba0084c6975ec 100644 (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