Fixed: NoMethodError error on roadmap if no trackers are selected and a shared version is available (#5006).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3555 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-03-08 20:17:09 +00:00
parent c07696b578
commit b99d4189b7
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ class ProjectsController < ApplicationController
@issues_by_version[version] = issues @issues_by_version[version] = issues
end end
end end
@versions.reject! {|version| !project_ids.include?(version.project_id) && @issues_by_version[version].empty?} @versions.reject! {|version| !project_ids.include?(version.project_id) && @issues_by_version[version].blank?}
end end
def activity def activity