diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-30 06:29:23 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-30 06:29:23 +0000 |
| commit | 28736d4573be9355a28c5c77893de2a7fc6068f1 (patch) | |
| tree | 10babaa70b33905abb7ff952cc56ae3ec04d2f66 /roundcubemail/program/include/rcube_imap.php | |
| parent | 2e1bb3d2f9896229eb538666a37df11cc318b9ad (diff) | |
- Fix imap login (#1486591)
git-svn-id: https://svn.roundcube.net/trunk@3443 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index b1f9132c5..26d0ef48a 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -135,6 +135,8 @@ class rcube_imap $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 @@ class rcube_imap 'message' => $this->conn->error), true, false); } - return $this->conn ? true : false; + return false; } |
