diff options
Diffstat (limited to 'program/include/rcube_imap.inc')
-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); |