From 64727b20b9e59e9b80979f4f2c2d2cf5a5b30cb6 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Thu, 17 Jan 2002 17:05:28 +0000 Subject: [PATCH] Bugfix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2153 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/sent_subfolders/setup.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/sent_subfolders/setup.php b/plugins/sent_subfolders/setup.php index 65e1c33d..49ba12de 100644 --- a/plugins/sent_subfolders/setup.php +++ b/plugins/sent_subfolders/setup.php @@ -147,7 +147,7 @@ function sent_subfolders_update_sentfolder() { global $sent_folder, $delimiter, $auto_create_special, $auto_create_done; global $sent_subfolders_base, $sent_subfolders_setting; global $username, $data_dir, $key, $imapServerAddress, $imapPort; - global $use_sent_subfolders, $move_to_sent; + global $use_sent_subfolders, $move_to_sent, $imap_server_type; if ($use_sent_subfolders || $move_to_sent) { $year = date('Y'); @@ -189,6 +189,11 @@ function sent_subfolders_update_sentfolder() { $year_folder = $sent_folder; } + if( $sent_subfolders_setting <> SMPREF_SENT_SUBFOLDERS_DISABLED && + $imap_server_type <> 'uw' ) { + $year_folder .= $delimiter; + } + /* If this folder is NOT the current sent folder, update stuff. */ if ($sent_subfolder != $sent_folder) { /* First, update the sent folder. */ -- 2.25.1