]> source.dussan.org Git - redmine.git/commitdiff
Typo that breaks with ruby1.8.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Feb 2013 15:20:07 +0000 (15:20 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Feb 2013 15:20:07 +0000 (15:20 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11337 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index 56e466f81b33e646b07116ba29790a3fc9729a4c..478261b862ee147a24da1622143a726529d292b1 100644 (file)
@@ -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.