From 84a5eb1c9f448cc5c568148d8660627adc3064ef Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Fri, 15 Sep 2023 21:28:03 +0300 Subject: [PATCH] Fix order for consistency --- mailbox/list_folders.cgi | 2 +- mailbox/list_ifolders.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");