fix for filling up the error_log in certain conditions on activesync on an non-existent event (with of course no participants). clear_private_infos created an eventarray on those, thus subsequent errors occured and had to be handeled in ExportChangesDiff::Synchronize

This commit is contained in:
Klaus Leithoff 2012-07-25 08:07:10 +00:00
parent 70bc8469a1
commit 3aa89e8bbc

View File

@ -618,6 +618,7 @@ class calendar_bo
*/
function clear_private_infos(&$event,$allowed_participants = array())
{
if ($event == false) return;
if (!is_array($event['participants'])) error_log(__METHOD__.'('.array2string($event).', '.array2string($allowed_participants).') NO PARTICIPANTS '.function_backtrace());
$event = array(