Commit c08305b0 authored by jplang's avatar jplang

Update project_id column in case some time entries were on subtasks of different projects (#24693).

git-svn-id: https://svn.redmine.org/redmine/trunk@16120 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 94e3f266
......@@ -364,7 +364,7 @@ class IssuesController < ApplicationController
flash.now[:error] = l(:error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted)
return
else
time_entries.update_all(:issue_id => reassign_to.id)
time_entries.update_all(:issue_id => reassign_to.id, :project_id => reassign_to.project_id)
end
else
# display the destroy form if it's a user request
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment