summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-28 13:08:48 +0000
committeralecpl <alec@alec.pl>2010-09-28 13:08:48 +0000
commita8e1095eb0f100e83ff4cca0a8df78f1a34a61a9 (patch)
tree13d94ea0aa7098654192e6dd7f6fc1e4139c33de
parent6d94ab311ac4ac28c47a7a1d367aa680a7ec23e0 (diff)
- Fixed wrong function call in sync_header_index()
-rw-r--r--program/include/rcube_imap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index b7ba9abd4..cca0627ec 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1349,8 +1349,8 @@ class rcube_imap
// fetch complete headers and add to cache
if (!empty($for_update)) {
- if ($headers = $this->conn->fetchHeader($mailbox,
- join(',', $for_update), false, $this->fetch_add_headers)) {
+ if ($headers = $this->conn->fetchHeaders($mailbox,
+ join(',', $for_update), false, false, $this->fetch_add_headers)) {
foreach ($headers as $header) {
$this->add_message_cache($cache_key, $header->id, $header, NULL,
in_array($header->uid, (array)$for_remove));