alecpl
2010-03-30 94a6c642cfc9ace111332e3a5822c96046796d2f
- Fix imap login (#1486591)


2 files modified
6 ■■■■■ changed files
program/include/rcube_imap.php 4 ●●● patch | view | raw | blame | history
program/include/rcube_imap_generic.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_imap.php
@@ -135,6 +135,8 @@
                $this->set_rootdir($this->conn->rootdir);
            if (empty($this->delimiter))
                $this->get_hierarchy_delimiter();
            return true;
        }
        // write error log
        else if ($this->conn->error) {
@@ -144,7 +146,7 @@
                'message' => $this->conn->error), true, false);
        }
        return $this->conn ? true : false;
        return false;
    }
program/include/rcube_imap_generic.php
@@ -566,7 +566,7 @@
        // check input
        if (empty($host)) {
            $this->error    = "Empty host";
            $this->errornum = -1;
            $this->errornum = -2;
            return false;
        }
        if (empty($user)) {