git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4524
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$boxes = sqimap_mailbox_list($imapConnection);
echo '<select name="mf_subfolder">';
$selected = 0;
$boxes = sqimap_mailbox_list($imapConnection);
echo '<select name="mf_subfolder">';
$selected = 0;
- if ( isset($mf_subfolder) )
- $selected = array(strtolower($mf_subfolder));
- echo sqimap_mailbox_option_list($imapConnection, $selected);
- echo '</select></td></tr>' .
+ if ( isset($mailfetch_subfolder_[$mf_sn]) ) {
+ $selected = array(strtolower($mailfetch_subfolder_[$mf_sn]));
+ }
+ echo sqimap_mailbox_option_list($imapConnection, $selected) .
+ '</select></td></tr>' .
html_tag( 'tr',
html_tag( 'th', ' ', 'right' ) .
html_tag( 'tr',
html_tag( 'th', ' ', 'right' ) .