projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d9eef
)
Fix threading when split across pages.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 07:18:59 +0000
(
00:18
-0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 07:18:59 +0000
(
00:18
-0700)
imp/lib/IMAP/Thread.php
patch
|
blob
|
history
diff --git
a/imp/lib/IMAP/Thread.php
b/imp/lib/IMAP/Thread.php
index
14e73cf
..
90a82ca
100644
(file)
--- a/
imp/lib/IMAP/Thread.php
+++ b/
imp/lib/IMAP/Thread.php
@@
-64,7
+64,11
@@
class IMP_IMAP_Thread
/* If starting in the middle of a thread, the threadLevel tree needs
* to be built from the base of the current thread. */
+ $first = reset($indices);
foreach ($t->getThread(reset($indices)) as $val) {
+ if ($first == $val) {
+ break;
+ }
$thread_level[$t->getThreadIndent($val)] = $t->lastInLevel($val);
}