Bug #8069: Convert to new param values
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 12 Mar 2009 18:29:09 +0000 (12:29 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 12 Mar 2009 18:31:54 +0000 (12:31 -0600)
imp/compose.php

index f3796cf..babca4b 100644 (file)
@@ -1138,8 +1138,13 @@ if ($redirect) {
         }
         if (!empty($conf['user']['select_sentmail_folder']) &&
             !$prefs->isLocked('sent_mail_folder')) {
+            $ssm_folder_options = array(
+                'abbrev' => false,
+                'filter' => array('INBOX'),
+                'selected' => $sent_mail_folder
+            );
             $t->set('ssm_tabindex', ++$tabindex);
-            $t->set('ssm_folders', IMP::flistSelect('', false, array('INBOX'), $sent_mail_folder));
+            $t->set('ssm_folders', IMP::flistSelect($ssm_folder_options));
         } else {
             if (!empty($sent_mail_folder)) {
                 $sent_mail_folder = '&quot;' . IMP::displayFolder($sent_mail_folder) . '&quot;';