summaryrefslogtreecommitdiffstats
path: root/app/views/projects/activity.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/activity.rhtml')
-rw-r--r--app/views/projects/activity.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index b0e536690..67c991359 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -48,7 +48,7 @@
<p><% @activity.event_types.each do |t| %>
<label><%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%></label><br />
<% end %></p>
-<% if @project && @project.active_children.any? %>
+<% if @project && @project.descendants.active.any? %>
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
<%= hidden_field_tag 'with_subprojects', 0 %>
<% end %>