Fix thread display in MIMP.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 20 Jan 2009 04:40:30 +0000 (21:40 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 20 Jan 2009 05:05:30 +0000 (22:05 -0700)
imp/mailbox-mimp.php

index 41ca041..159fba4 100644 (file)
@@ -111,7 +111,7 @@ while (list(,$ob) = each($mbox_info['overview'])) {
 
     $msg['subject'] = $imp_ui->getSubject($ob['envelope']['subject']);
 
-    if (!is_null($threadob) && ($threadob->getThreadIndent($ob['uid']) - 1)) {
+    if (!is_null($threadob) && ($threadob->getThreadIndent($ob['uid']))) {
         $msg['subject'] = '>> ' . ltrim($msg['subject']);
     }