diff --git a/calendar/inc/class.calendar_activesync.inc.php b/calendar/inc/class.calendar_activesync.inc.php index f7a69e1b8c..f2419b1c88 100644 --- a/calendar/inc/class.calendar_activesync.inc.php +++ b/calendar/inc/class.calendar_activesync.inc.php @@ -182,7 +182,7 @@ class calendar_activesync implements activesync_plugin_read debugLog (__METHOD__."('$folderid', $id, truncsize=$truncsize, bodyprefence=$bodypreference, mimesupport=$mimesupport)"); $this->backend->splitID($folderid, $type, $account); - if ($type != 'calendar' || !($event = $this->calendar->read($id,'ts',false,$account))) + if ($type != 'calendar' || !($event = $this->calendar->read($id,null,'ts',false,$account))) { return false; } diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index e191860817..03c5db2477 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -898,7 +898,7 @@ class calendar_bo } if ($this->debug && ($this->debug > 1 || $this->debug == 'read')) { - $this->debug_message('calendar_bo::read(%1,%2,%3,%4)=%5',True,$ids,$date,$ignore_acl,$date_format,$return); + $this->debug_message('calendar_bo::read(%1,%2,%3,%4,%5)=%6',True,$ids,$date,$ignore_acl,$date_format,$clear_private_infos_users,$return); } return $return; }