diff options
author | alecpl <alec@alec.pl> | 2010-10-14 10:23:29 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-14 10:23:29 +0000 |
commit | 0f0c17ad9ef6dc5f82e7147a16f2cab7aae657db (patch) | |
tree | 4b3b3806fff5ad856fb6a0be381780c84d539d6b /program/include/rcmail.php | |
parent | 8fcc3e1ad67496496c788023daeb01631a39d915 (diff) |
- improved IMAP errors handling (continue)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index b6af440b3..a26ad809c 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -542,7 +542,7 @@ class rcmail if ($_SESSION['imap_host'] && !$this->imap->conn->connected()) { if (!$this->imap->connect($_SESSION['imap_host'], $_SESSION['username'], $this->decrypt($_SESSION['password']), $_SESSION['imap_port'], $_SESSION['imap_ssl'])) { if ($this->output) - $this->output->show_message($this->imap->error_code == -1 ? 'imaperror' : 'sessionerror', 'error'); + $this->output->show_message($this->imap->get_error_code() == -1 ? 'imaperror' : 'sessionerror', 'error'); } else { $this->set_imap_prop(); |