@@ -30,7 +30,9 class ActivitiesController < ApplicationController | |||
|
30 | 30 | @date_to ||= Date.today + 1 |
|
31 | 31 | @date_from = @date_to - @days |
|
32 | 32 | @with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1') |
|
33 | @author = (params[:user_id].blank? ? nil : User.active.find(params[:user_id])) | |
|
33 | if params[:user_id].present? | |
|
34 | @author = User.active.find(params[:user_id]) | |
|
35 | end | |
|
34 | 36 | |
|
35 | 37 | @activity = Redmine::Activity::Fetcher.new(User.current, :project => @project, |
|
36 | 38 | :with_subprojects => @with_subprojects, |
General Comments 0
You need to be logged in to leave comments.
Login now