Make sure we have no errors if calendar entry is somehow missing.

This commit is contained in:
nathangray 2016-06-08 12:58:00 -06:00
parent dd0e541605
commit fa6ecf8176

View File

@ -133,7 +133,7 @@ app.classes.addressbook = AppJS.extend(
{
// Event changed, update any [known] contacts participating
var content = egw.dataGetUIDdata(_app+'::'+_id);
if (content.data && content.data.participant_types && content.data.participant_types.c)
if (content && content.data && content.data.participant_types && content.data.participant_types.c)
{
for(var contact in content.data.participant_types.c)
{