summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-10 14:57:07 +0000
committerthomascube <thomas@roundcube.net>2008-09-10 14:57:07 +0000
commit32efb0b6313641b29e24ba8cbad7a297e223a430 (patch)
treeb943ad2e5b41ecb76fe69a7cdbced3d7907abdc8 /program
parentf9365018cb8462a07bfc86dfe080cece956aacb5 (diff)
Trigger SELECT command to restore connection status after reconnect (#1485330)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 0c365752a..8a7ad2c9b 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -166,6 +166,10 @@ class rcube_imap
{
$this->close();
$this->connect($this->host, $this->user, $this->pass, $this->port, $this->ssl);
+
+ // issue SELECT command to restore connection status
+ if ($this->mailbox)
+ iil_C_Select($this->conn, $this->mailbox);
}