mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
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:
parent
70bc8469a1
commit
3aa89e8bbc
@ -618,6 +618,7 @@ class calendar_bo
|
|||||||
*/
|
*/
|
||||||
function clear_private_infos(&$event,$allowed_participants = array())
|
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());
|
if (!is_array($event['participants'])) error_log(__METHOD__.'('.array2string($event).', '.array2string($allowed_participants).') NO PARTICIPANTS '.function_backtrace());
|
||||||
|
|
||||||
$event = array(
|
$event = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user