mirror of
https://github.com/redmine/redmine.git
synced 2025-11-05 04:45:57 +01:00
Update project_id column in case some time entries were on subtasks of different projects (#24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16120 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user