diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-19 18:52:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-19 18:52:20 +0000 |
commit | 9cfa233001b0cca2c978372bfc70729fdbad4e9c (patch) | |
tree | f8e665651c223628c3b41f9c15de609f86bf2a33 /app/controllers | |
parent | 0870f6267fc93400f1dc126fd6d329988a65c7a7 (diff) | |
download | redmine-9cfa233001b0cca2c978372bfc70729fdbad4e9c.tar.gz redmine-9cfa233001b0cca2c978372bfc70729fdbad4e9c.zip |
Track project and tracker changes in issue history.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1565 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/issues_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index a86e9b00c..69c8e7932 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -285,6 +285,7 @@ class IssuesController < ApplicationController new_tracker = params[:new_tracker_id].blank? ? nil : @target_project.trackers.find_by_id(params[:new_tracker_id]) unsaved_issue_ids = [] @issues.each do |issue| + issue.init_journal(User.current) unsaved_issue_ids << issue.id unless issue.move_to(@target_project, new_tracker) end if unsaved_issue_ids.empty? |