diff --git a/mailbox/list_folders.cgi b/mailbox/list_folders.cgi index feee0ba1..7db714dc 100755 --- a/mailbox/list_folders.cgi +++ b/mailbox/list_folders.cgi @@ -42,8 +42,8 @@ print &ui_columns_start([ "", foreach my $f (@folders) { my @cols; my $deletable = 0; - if ($f->{'inbox'} || $f->{'drafts'} || $f->{'spam'}) { - # Inbox, drafs or spam folder which cannot be edited + if ($f->{'inbox'} || $f->{'drafts'} || $f->{'sent'} || $f->{'spam'}) { + # Inbox, drafs, sent or spam folder which cannot be edited push(@cols, &html_escape($f->{'name'})); } elsif ($f->{'type'} == 2) { diff --git a/mailbox/list_ifolders.cgi b/mailbox/list_ifolders.cgi index 4fca0ec7..64f7ea07 100755 --- a/mailbox/list_ifolders.cgi +++ b/mailbox/list_ifolders.cgi @@ -28,8 +28,8 @@ print &ui_columns_start([ "", foreach my $f (@folders) { my @cols; my $deletable = 0; - if ($f->{'inbox'} || $f->{'drafts'} || $f->{'spam'}) { - # Inbox, drafs or spam folder which cannot be edited + if ($f->{'inbox'} || $f->{'drafts'} || $f->{'sent'} || $f->{'spam'}) { + # Inbox, drafs, sent or spam folder which cannot be edited push(@cols, &html_escape($f->{'name'})); push(@cols, "IMAP"); push(@cols, &nice_size(&folder_size($f)));