summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-09 15:20:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-09 15:20:07 +0000
commit0d93b6dc3cb8cbea17a72661192932f11ee9918c (patch)
tree3be6b8e44dc257cebeeae7d5731866ced88c7e3d /app/models
parent0f2ee79f35ac109df4384c1826ff3b687f1421eb (diff)
downloadredmine-0d93b6dc3cb8cbea17a72661192932f11ee9918c.tar.gz
redmine-0d93b6dc3cb8cbea17a72661192932f11ee9918c.zip
Typo that breaks with ruby1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11337 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 56e466f81..478261b86 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -416,7 +416,7 @@ class Project < ActiveRecord::Base
@rolled_up_trackers ||=
Tracker.
joins(:projects).
- joins("JOIN #{EnabledModule.table_name} ON #{EnabledModule.table_name}.project_id = #{Project.table_name}.id AND #{EnabledModule.table_name}.name = 'issue_tracking'", ).
+ joins("JOIN #{EnabledModule.table_name} ON #{EnabledModule.table_name}.project_id = #{Project.table_name}.id AND #{EnabledModule.table_name}.name = 'issue_tracking'").
select("DISTINCT #{Tracker.table_name}.*").
where("#{Project.table_name}.lft >= ? AND #{Project.table_name}.rgt <= ? AND #{Project.table_name}.status <> #{STATUS_ARCHIVED}", lft, rgt).
sorted.