summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/calendar/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 70b1e22..d380963 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -2175,7 +2175,7 @@ class calendar extends rcube_plugin
$part = $this->rc->imap->get_message_part($uid, $mime_id);
if ($part->ctype_parameters['charset'])
$charset = $part->ctype_parameters['charset'];
- $headers = $this->rc->imap->get_headers($uid);
+ $headers = $this->rc->imap->get_message_headers($uid);
}
$events = $this->get_ical()->import($part, $charset);