git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1541
7612ce4b-ef26-0410-bec9-
ea0150e637f0
******************************************************************************/
function sqimap_mailbox_select ($imap_stream, $mailbox, $hide=true, $recent=false) {
global $auto_expunge;
******************************************************************************/
function sqimap_mailbox_select ($imap_stream, $mailbox, $hide=true, $recent=false) {
global $auto_expunge;
+
+ if( $mailbox == _("None") )
+ return;
fputs ($imap_stream, "a001 SELECT \"$mailbox\"\r\n");
$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);
fputs ($imap_stream, "a001 SELECT \"$mailbox\"\r\n");
$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);