summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-14 10:37:32 +0000
committeralecpl <alec@alec.pl>2010-10-14 10:37:32 +0000
commit2d1d68bc7e1683bca869fcd1eca517ef209097d8 (patch)
treee34ad5dcf2584cc2794ddb0b0b8343e491aea304 /program/include
parent0f0c17ad9ef6dc5f82e7147a16f2cab7aae657db (diff)
- Display IMAP errors for LIST/THREAD/SEARCH commands, fixes #1486905
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 0ad582ffc..ee5638e46 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -278,7 +278,7 @@ class rcube_imap_generic
$str = trim($matches[2]);
if ($res == 'OK') {
- return self::ERROR_OK;
+ return $this->errornum = self::ERROR_OK;
} else if ($res == 'NO') {
$this->errornum = self::ERROR_NO;
} else if ($res == 'BAD') {