diff options
author | thomascube <thomas@roundcube.net> | 2007-10-17 20:44:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-10-17 20:44:10 +0000 |
commit | fc67251839ae210a138cafc68fdb7f5aae95a151 (patch) | |
tree | 4532f4b973ae3e948ba719b0839f2a994873231d /program | |
parent | b119e24154315cbd21ae2609ea84ad0346598543 (diff) |
Show appropriate warning on connection error
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index be7f44f4e..8bcce8a94 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -65,6 +65,7 @@ class rcube_imap var $search_string = ''; var $search_charset = ''; var $debug_level = 1; + var $error_code = 0; /** @@ -131,6 +132,7 @@ class rcube_imap // write error log else if (!$this->conn && $GLOBALS['iil_error']) { + $this->error_code = $GLOBALS['iil_errornum']; raise_error(array('code' => 403, 'type' => 'imap', 'message' => $GLOBALS['iil_error']), TRUE, FALSE); |