From 19285e85333dd389c3fc3f291bc568afe2e31771 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 5 Apr 2009 04:49:15 +0000 Subject: [PATCH] Handle subfolders as sent too! git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13519 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/right_main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/right_main.php b/src/right_main.php index cb95fefe..8d888607 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -128,8 +128,8 @@ $aMailboxPref[MBX_PREF_COLUMNS] = $index_order; /** * Replace From => To in case it concerns a draft or sent folder */ -if (($mailbox == $sent_folder || $mailbox == $draft_folder) && - !in_array(SQM_COL_TO,$aMailboxPref[MBX_PREF_COLUMNS])) { +if (handleAsSent($mailbox) + && !in_array(SQM_COL_TO,$aMailboxPref[MBX_PREF_COLUMNS])) { $aNewOrder = array(); // nice var name ;) foreach($aMailboxPref[MBX_PREF_COLUMNS] as $iCol) { if ($iCol == SQM_COL_FROM) { -- 2.25.1