Bugfix
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Jan 2002 17:05:28 +0000 (17:05 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Jan 2002 17:05:28 +0000 (17:05 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2153 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/sent_subfolders/setup.php

index 65e1c33..49ba12d 100644 (file)
@@ -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. */