Preselect the issue custom fields from the source project when copying. #4045

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2933 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2009-10-19 00:07:32 +00:00
parent 945ea9b01c
commit 6531c3f887
1 changed files with 1 additions and 0 deletions

View File

@ -391,6 +391,7 @@ class Project < ActiveRecord::Base
copy.enabled_modules = project.enabled_modules
copy.trackers = project.trackers
copy.custom_values = project.custom_values.collect {|v| v.clone}
copy.issue_custom_fields = project.issue_custom_fields
return copy
else
return nil