Changeset 0f0c17a in github


Ignore:
Timestamp:
Oct 14, 2010 6:23:29 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
2d1d68b
Parents:
8fcc3e1
Message:
  • improved IMAP errors handling (continue)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcmail.php

    r8f94b1a r0f0c17a  
    543543      if (!$this->imap->connect($_SESSION['imap_host'], $_SESSION['username'], $this->decrypt($_SESSION['password']), $_SESSION['imap_port'], $_SESSION['imap_ssl'])) { 
    544544        if ($this->output) 
    545           $this->output->show_message($this->imap->error_code == -1 ? 'imaperror' : 'sessionerror', 'error'); 
     545          $this->output->show_message($this->imap->get_error_code() == -1 ? 'imaperror' : 'sessionerror', 'error'); 
    546546      } 
    547547      else { 
Note: See TracChangeset for help on using the changeset viewer.