Fixing project copy #546
This commit is contained in:
parent
38676e63d7
commit
94c93e8569
@ -67,7 +67,7 @@ module RedmineDmsf
|
||||
project = project.is_a?(Project) ? project : Project.find(project)
|
||||
|
||||
to_be_copied = %w(dmsf approval_workflows)
|
||||
to_be_copied = to_be_copied & options[:only].to_a if options[:only].present?
|
||||
to_be_copied = to_be_copied & Array.wrap(options[:only]) unless options[:only].nil?
|
||||
|
||||
if save
|
||||
to_be_copied.each do |name|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user