alecpl
2010-12-07 dd83549dda110ff9980b1bd496c3b65557985b24
- Fix closeConnection() call in rcube_imap::reconnect()


1 files modified
6 ■■■■ changed files
program/include/rcube_imap.php 6 ●●●● patch | view | raw | blame | history
program/include/rcube_imap.php
@@ -193,11 +193,11 @@
     */
    function reconnect()
    {
        $this->closeConnection();
        $this->connect($this->host, $this->user, $this->pass, $this->port, $this->ssl);
        $this->conn->closeConnection();
        $connected = $this->connect($this->host, $this->user, $this->pass, $this->port, $this->ssl);
        // issue SELECT command to restore connection status
        if ($this->mailbox)
        if ($connected && strlen($this->mailbox))
            $this->conn->select($this->mailbox);
    }