diff options
author | Go MAEDA <maeda@farend.jp> | 2023-02-15 00:24:13 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-02-15 00:24:13 +0000 |
commit | 712ec961748e130ff1f7d279cd7b350a3f460b7b (patch) | |
tree | e6d44be2f21adb1f242618d67de07e55948e230a /app/controllers/timelog_controller.rb | |
parent | 215525a197a14b29327811111196863d3e436008 (diff) | |
download | redmine-712ec961748e130ff1f7d279cd7b350a3f460b7b.tar.gz redmine-712ec961748e130ff1f7d279cd7b350a3f460b7b.zip |
Merged r22096 from trunk to 5.0-stable (#35066).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22109 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 313612b8b..e6848de7e 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -131,6 +131,7 @@ class TimelogController < ApplicationController :back_url => params[:back_url] } if params[:project_id] && @time_entry.project + options[:time_entry][:project_id] ||= @time_entry.project.id redirect_to new_project_time_entry_path(@time_entry.project, options) elsif params[:issue_id] && @time_entry.issue redirect_to new_issue_time_entry_path(@time_entry.issue, options) |