From: Chuck Hagenbuch Date: Mon, 19 Jan 2009 04:25:17 +0000 (-0500) Subject: i had empty arrays in the cache, so this check wasn't sufficient to fetch and store... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4da5cec41bc20263880c4c19d7b81f5cbc9f39a9;p=horde.git i had empty arrays in the cache, so this check wasn't sufficient to fetch and store the info --- 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);