From a8e1095eb0f100e83ff4cca0a8df78f1a34a61a9 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 28 Sep 2010 09:08:48 -0400
Subject: [PATCH] - Fixed wrong function call in sync_header_index()
---
program/include/rcube_imap.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index b7ba9ab..cca0627 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1349,8 +1349,8 @@
// 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));
--
Gitblit v1.9.1