[Tickets #11100] Re: No Messages error caused by empty direction in sortpref
bugs at horde.org
bugs at horde.org
Mon Mar 26 19:18:43 UTC 2012
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/11100
------------------------------------------------------------------------------
Ticket | 11100
Aktualisiert Von | Juergen.Obermann at hrz.uni-giessen.de
Zusammenfassung | No Messages error caused by empty direction in sortpref
Warteschlange | IMP
Version | 4.3.11
Typ | Bug
Status | Not A Bug
Priorität | 2. Medium
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
Juergen.Obermann at hrz.uni-giessen.de (2012-03-26 19:18) hat geschrieben:
Nice to hear it is no bug because the version is no longer supported.
But anyway here is my fix for this non bug:
*** ./imp/lib/IMP.php.dist Fri Feb 10 22:58:57 2012
--- ./imp/lib/IMP.php Fri Mar 23 13:20:38 2012
***************
*** 1532,1537 ****
--- 1532,1542 ----
'limit' => false
);
+ /* check for empty direction */
+ if ($ob['dir'] === "") {
+ $ob['dir'] = $GLOBALS['prefs']->getValue('sortdir');
+ }
+
/* Can't do threaded searches in search mailboxes. */
if (!IMP::threadSortAvailable($mbox)) {
if ($ob['by'] == SORTTHREAD) {
More information about the bugs
mailing list