Skip to content

Commit

Permalink
Fix order for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Sep 15, 2023
1 parent f4f3207 commit 84a5eb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mailbox/list_folders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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'}));
}
Expand Down
2 changes: 1 addition & 1 deletion mailbox/list_ifolders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 84a5eb1

Please sign in to comment.