summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-07 16:11:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-07 16:11:29 +0000
commit406aa946e52dc981cdd9d7f62e04defc4dfb28c7 (patch)
tree5a74ea608b1ea40a4e1f068dabe6ed5a284a9878 /app/models/custom_field.rb
parent5eea9ec61a680e4bce5ae9b2442d0285a8f62840 (diff)
downloadredmine-406aa946e52dc981cdd9d7f62e04defc4dfb28c7.tar.gz
redmine-406aa946e52dc981cdd9d7f62e04defc4dfb28c7.zip
Fixes #possible_values for version custom field.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5353 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/custom_field.rb')
-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 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