Fix PHP warning
This commit is contained in:
parent
c3de38d72f
commit
4413130c52
1 changed files with 3 additions and 3 deletions
|
@ -175,7 +175,7 @@ class kolab_format_event extends kolab_format_xcal
|
||||||
}
|
}
|
||||||
|
|
||||||
// organizer is part of the attendees list in Roundcube
|
// organizer is part of the attendees list in Roundcube
|
||||||
if ($object['organizer']) {
|
if (!empty($object['organizer'])) {
|
||||||
$object['organizer']['role'] = 'ORGANIZER';
|
$object['organizer']['role'] = 'ORGANIZER';
|
||||||
array_unshift($object['attendees'], $object['organizer']);
|
array_unshift($object['attendees'], $object['organizer']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue