X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fimap_mailbox.php;h=746a438bb5029098cc0d2a4bb9b1104a3411da3e;hp=b3ff5a469b340f17d728656d947b9a62826bf168;hb=ce628f00d2054439b69cbe7c7cf0ba4d159d0a6a;hpb=731abf853abe29f95b7e65374840953b8900cc1f diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index b3ff5a46..746a438b 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -49,8 +49,7 @@ function isSpecialMailbox( $box ) { $ret = ( (strtolower($box) == 'inbox') || ( $move_to_trash && isBoxBelow( $box, $trash_folder ) ) || ( $move_to_sent && isBoxBelow( $box, $sent_folder )) || - ($box == $draft_folder && - $save_as_draft) ); + ($save_as_draft && $box == $draft_folder ) ); return( $ret );