diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-14 10:37:32 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-14 10:37:32 +0000 |
| commit | 986bb5b62f0fb7463accc221bd7ab46844ce65e1 (patch) | |
| tree | 0355d911fd19bf5a45f9a998f83dec61f6520cbb /roundcubemail/program/include/rcube_imap_generic.php | |
| parent | 7b35a73491843301ce29410c90e2be8a4fee03d0 (diff) | |
- Display IMAP errors for LIST/THREAD/SEARCH commands, fixes #1486905
git-svn-id: https://svn.roundcube.net/trunk@4090 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap_generic.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap_generic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap_generic.php b/roundcubemail/program/include/rcube_imap_generic.php index 0ad582ffc..ee5638e46 100644 --- a/roundcubemail/program/include/rcube_imap_generic.php +++ b/roundcubemail/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') { |
