Cannot download folders with sub folders #530
This commit is contained in:
parent
ab52e6ae09
commit
9e937525af
@ -64,7 +64,7 @@ class DmsfZip
|
|||||||
string_path = string_path[(root_path.length + 1) .. string_path.length] if root_path
|
string_path = string_path[(root_path.length + 1) .. string_path.length] if root_path
|
||||||
@zip_file.put_next_entry(string_path)
|
@zip_file.put_next_entry(string_path)
|
||||||
@folders << folder
|
@folders << folder
|
||||||
folder.dmsf_folders.visible.each { |subfolder| self.add_folder(subfolder, root_path) }
|
folder.dmsf_folders.visible.each { |subfolder| self.add_folder(subfolder, member, root_path) }
|
||||||
folder.dmsf_files.visible.each { |file| self.add_file(file, member, root_path) }
|
folder.dmsf_files.visible.each { |file| self.add_file(file, member, root_path) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user