diff options
Diffstat (limited to 'program')
-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; } |