diff --git a/addressbook/inc/class.addressbook_activesync.inc.php b/addressbook/inc/class.addressbook_activesync.inc.php index e04cfd6ad4..f0b7e76be7 100644 --- a/addressbook/inc/class.addressbook_activesync.inc.php +++ b/addressbook/inc/class.addressbook_activesync.inc.php @@ -318,7 +318,7 @@ class addressbook_activesync implements activesync_plugin_write, activesync_plug * @param bool $mimesupport * @return $messageobject|boolean false on error */ - public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $mimesupport = 0) + public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $optionbodypreference=false, $mimesupport = 0) { if (!isset($this->addressbook)) $this->addressbook = new addressbook_bo(); diff --git a/calendar/inc/class.calendar_activesync.inc.php b/calendar/inc/class.calendar_activesync.inc.php index 3c26d9828d..f459307bdf 100644 --- a/calendar/inc/class.calendar_activesync.inc.php +++ b/calendar/inc/class.calendar_activesync.inc.php @@ -675,10 +675,11 @@ class calendar_activesync implements activesync_plugin_write * @param string|array $id cal_id or event array (used internally) * @param int $truncsize * @param int|bool $bodypreference=false + * @param $optionbodypreference=false * @param int $mimesupport=0 * @return SyncAppointment|boolean false on error */ - public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $mimesupport = 0) + public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $optionbodypreference=false, $mimesupport = 0) { if (!isset($this->calendar)) $this->calendar = new calendar_boupdate();