[Tickets #13421] Sort by from address is broken since v6.2.1
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Aug 6 11:29:11 UTC 2014
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/13421
------------------------------------------------------------------------------
Ticket | 13421
Erstellt Von | marth at tsvschlieben.de
Zusammenfassung | Sort by from address is broken since v6.2.1
Warteschlange | IMP
Version | 6.2.1
Typ | Bug
Status | Unconfirmed
Priorität | 2. Medium
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
marth at tsvschlieben.de (2014-08-06 11:29) hat geschrieben:
Since v6.2.1 sorting by From is broken.
IMAP server announces support for SORT but not for DISPLAY. This check
has a logical error:
Horde/Imap/Client/Data/Capability.php: query($capability, $parameter = NULL)
return (is_null($parameter) || !is_array($this->_data[$capability]))
? true
: in_array(strtoupper($parameter), $this->_data[$capability]);
Returns TRUE if query ('SORT', 'DISPLAY') --> INCORRECT
Suggested fix:
return (is_null($parameter) || (is_array($_data[$capability]) &&
in_array(strtoupper($parameter), $_data[$capability])))
? true
: false;
Returns TRUE if query ('SORT', 'DISPLAY') --> CORRECT
More information about the bugs
mailing list