diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap_cache.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_imap_cache.php b/program/include/rcube_imap_cache.php index 1a442e06f..eb2df165f 100644 --- a/program/include/rcube_imap_cache.php +++ b/program/include/rcube_imap_cache.php @@ -311,10 +311,10 @@ class rcube_imap_cache $uid = intval($sql_arr['uid']); $result[$uid] = $this->build_message($sql_arr); - // save memory, we don't need message body here (?) - $result[$uid]->body = null; - if (!empty($result[$uid])) { + // save memory, we don't need message body here (?) + $result[$uid]->body = null; + unset($msgs[$uid]); } } |