summaryrefslogtreecommitdiffstats
path: root/app/views/versions/_sidebar.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/versions/_sidebar.html.erb')
-rw-r--r--app/views/versions/_sidebar.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_sidebar.html.erb b/app/views/versions/_sidebar.html.erb
index aecb7d131..0ce93fe82 100644
--- a/app/views/versions/_sidebar.html.erb
+++ b/app/views/versions/_sidebar.html.erb
@@ -20,7 +20,7 @@
<%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
</label>
</li>
- <% if @project.descendants.active.any? %>
+ <% if @project.descendants.allowed_to(:view_issues).any? %>
<li>
<%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
<label>