diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 06:21:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 06:21:03 +0000 |
commit | 231282ddcb73e9baaab76496bf2605a80594da36 (patch) | |
tree | 7743a570122b38edf288eb275ebd1d9076efa88d /app/models/issue.rb | |
parent | 09375960d69dcca6dafe4b126b77994f523efba8 (diff) | |
download | redmine-231282ddcb73e9baaab76496bf2605a80594da36.tar.gz redmine-231282ddcb73e9baaab76496bf2605a80594da36.zip |
Fixed MissingFeatureException: let user choose to copy attachments or not when bulk copying issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9405 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 8ebc20fc0..d72ff4dcf 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -145,8 +145,8 @@ class Issue < ActiveRecord::Base end # Returns an unsaved copy of the issue - def copy(attributes=nil) - copy = self.class.new.copy_from(self) + def copy(attributes=nil, copy_options={}) + copy = self.class.new.copy_from(self, copy_options) copy.attributes = attributes if attributes copy end |