mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix decompression of folders
This commit is contained in:
@@ -1549,8 +1549,9 @@ sub mailbox_uncompress_folder
|
||||
{
|
||||
my ($folder) = @_;
|
||||
if ($folder->{'type'} == 1 || $folder->{'type'} == 3) {
|
||||
my @files = $src->{'type'} == 1 ? &get_maildir_files($folder->{'file'})
|
||||
: &get_mhdir_files($folder->{'file'});
|
||||
my @files = $folder->{'type'} == 1 ?
|
||||
&get_maildir_files($folder->{'file'}) :
|
||||
&get_mhdir_files($folder->{'file'});
|
||||
if ($folder->{'type'} == 1) {
|
||||
foreach my $sf (glob("$folder->{'file'}/.??*")) {
|
||||
push(@files, &get_maildir_files($sf));
|
||||
|
||||
Reference in New Issue
Block a user