diff --git a/mailbox/list_folders.cgi b/mailbox/list_folders.cgi index 81c6039c..26b9f4c0 100755 --- a/mailbox/list_folders.cgi +++ b/mailbox/list_folders.cgi @@ -41,7 +41,7 @@ print &ui_columns_start([ "", foreach my $f (@folders) { my @cols; my $deletable = 0; - if ($f->{'inbox'} || $f->{'drafts'} || $f->{'sent'} || $f->{'spam'}) { + if ($f->{'inbox'} || $f->{'sent'} || $f->{'drafts'} || $f->{'spam'}) { # Inbox, drafs, sent or spam folder which cannot be edited push(@cols, &html_escape($f->{'name'})); } diff --git a/mailbox/list_ifolders.cgi b/mailbox/list_ifolders.cgi index 64f7ea07..70637b42 100755 --- a/mailbox/list_ifolders.cgi +++ b/mailbox/list_ifolders.cgi @@ -28,7 +28,7 @@ print &ui_columns_start([ "", foreach my $f (@folders) { my @cols; my $deletable = 0; - if ($f->{'inbox'} || $f->{'drafts'} || $f->{'sent'} || $f->{'spam'}) { + if ($f->{'inbox'} || $f->{'sent'} || $f->{'drafts'} || $f->{'spam'}) { # Inbox, drafs, sent or spam folder which cannot be edited push(@cols, &html_escape($f->{'name'})); push(@cols, "IMAP");