From 8b499b76689ffc0aefeb47afbcd10ae87def4ee4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 24 Feb 2009 21:41:43 -0700 Subject: [PATCH] Fix sequence # display --- imp/mailbox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/mailbox.php b/imp/mailbox.php index bc3312f24..53d95dd0f 100644 --- a/imp/mailbox.php +++ b/imp/mailbox.php @@ -710,7 +710,7 @@ $imp_ui = new IMP_UI_Mailbox($imp_mbox['mailbox']); /* Display message information. */ $ids = $msgs = array(); $search_template = null; -while (list($seq, $ob) = each($mbox_info['overview'])) { +while (list(,$ob) = each($mbox_info['overview'])) { if ($search_mbox) { if (empty($lastMbox) || ($ob['mailbox'] != $lastMbox)) { if (!empty($lastMbox)) { @@ -741,7 +741,7 @@ while (list($seq, $ob) = each($mbox_info['overview'])) { 'bg' => '', 'color' => '', 'date' => htmlspecialchars($imp_ui->getDate($ob['envelope']['date'])), - 'number' => $seq, + 'number' => $ob['seq'], 'preview' => '', 'size' => htmlspecialchars($imp_ui->getSize($ob['size'])), 'status' => '', -- 2.11.0