@@ -227,7 +227,7 class ProjectsController < ApplicationController | |||
|
227 | 227 | @date_to ||= Date.today + 1 |
|
228 | 228 | @date_from = @date_to - @days |
|
229 | 229 | @with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1') |
|
230 |
@author = (params[:user_id] ? User.active.find(params[:user_id]) |
|
|
230 | @author = (params[:user_id].blank? ? nil : User.active.find(params[:user_id])) | |
|
231 | 231 | |
|
232 | 232 | @activity = Redmine::Activity::Fetcher.new(User.current, :project => @project, |
|
233 | 233 | :with_subprojects => @with_subprojects, |
@@ -52,7 +52,7 | |||
|
52 | 52 | <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p> |
|
53 | 53 | <%= hidden_field_tag 'with_subprojects', 0 %> |
|
54 | 54 | <% end %> |
|
55 |
<%= hidden_field_tag |
|
|
55 | <%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %> | |
|
56 | 56 | <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p> |
|
57 | 57 | <% end %> |
|
58 | 58 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now