]> source.dussan.org Git - redmine.git/commitdiff
Fully qualify the Version class in Redmine::Helpers::TimeReport (#23269).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 Jul 2016 19:45:05 +0000 (19:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 Jul 2016 19:45:05 +0000 (19:45 +0000)
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@15645 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/time_report.rb

index c9ce70ebe34bb37b156ce990b312a7cc6ef1aadc..8991592af2eae1039a5e4c1d0c2e3a5ed2ee1c7d 100644 (file)
@@ -108,7 +108,7 @@ module Redmine
                                               :klass => IssueStatus,
                                               :label => :field_status},
                                  'version' => {:sql => "#{Issue.table_name}.fixed_version_id",
-                                              :klass => Version,
+                                              :klass => ::Version,
                                               :label => :label_version},
                                  'category' => {:sql => "#{Issue.table_name}.category_id",
                                                 :klass => IssueCategory,