diff options
author | alecpl <alec@alec.pl> | 2012-01-27 18:16:40 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-27 18:16:40 +0000 |
commit | 82775db0a4aba866898bcab01e90feaae3f56c99 (patch) | |
tree | 6f3c4a5db6b9c773659ff2a9a56daf4d7ff5b3cb /program/include | |
parent | 20588763f276667d888eb020d6ead6ec0cf7da59 (diff) |
- Revert SORT=DISPLAY support, removed by mistake (#1488327)
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_imap_generic.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index 94211210d..e390b2448 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -1557,6 +1557,11 @@ class rcube_imap_generic } if (!$this->select($mailbox)) { + } + + // RFC 5957: SORT=DISPLAY + if (($field == 'FROM' || $field == 'TO') && $this->getCapability('SORT=DISPLAY')) { + $field = 'DISPLAY' . $field; return null; } |