projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c72f48
)
i had empty arrays in the cache, so this check wasn't sufficient to fetch and store...
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 19 Jan 2009 04:25:17 +0000
(23:25 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 19 Jan 2009 04:25:17 +0000
(23:25 -0500)
imp/lib/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mailbox.php
b/imp/lib/Mailbox.php
index
957c274
..
8479a65
100644
(file)
--- 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);