From 4da5cec41bc20263880c4c19d7b81f5cbc9f39a9 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 18 Jan 2009 23:25:17 -0500 Subject: [PATCH] i had empty arrays in the cache, so this check wasn't sufficient to fetch and store the info --- imp/lib/Mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mailbox.php b/imp/lib/Mailbox.php index 957c27435..8479a65af 100644 --- a/imp/lib/Mailbox.php +++ b/imp/lib/Mailbox.php @@ -189,7 +189,7 @@ class IMP_Mailbox (($preview === 2) || !$GLOBALS['prefs']->getValue('preview_show_unread') || !in_array('\\seen', $v['flags']))) { - if (!isset($preview_info[$k])) { + if (empty($preview_info[$k])) { $imp_contents = IMP_Contents::singleton($k . IMP::IDX_SEP . $mbox); if (is_a($imp_contents, 'PEAR_Error')) { $preview_info[$k] = array('IMPpreview' => '', 'IMPpreviewc' => false); -- 2.11.0