From: Jean-Philippe Lang Date: Tue, 12 Jul 2016 19:45:05 +0000 (+0000) Subject: Fully qualify the Version class in Redmine::Helpers::TimeReport (#23269). X-Git-Tag: 3.4.0~818 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0e514b3144bfd8124947534afb886e9f197275a7;p=redmine.git Fully qualify the Version class in Redmine::Helpers::TimeReport (#23269). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15645 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/helpers/time_report.rb b/lib/redmine/helpers/time_report.rb index c9ce70ebe..8991592af 100644 --- a/lib/redmine/helpers/time_report.rb +++ b/lib/redmine/helpers/time_report.rb @@ -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,