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:
parent
c07696b578
commit
b99d4189b7
|
@ -304,7 +304,7 @@ class ProjectsController < ApplicationController
|
|||
@issues_by_version[version] = issues
|
||||
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
|
||||
|
||||
def activity
|
||||
|
|
Loading…
Reference in New Issue