Fix fatal error 'Call to undefined method Attendee::email()' when reading email alarms (#3625)
This commit is contained in:
parent
bde037ce0e
commit
e4f8757b28
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ abstract class kolab_format_xcal extends kolab_format
|
|||
|
||||
if ($type == 'EMAIL') {
|
||||
$valarm['attendees'] = array();
|
||||
$attvec = $this->obj->attendees();
|
||||
$attvec = $alarm->attendees();
|
||||
for ($j=0; $j < $attvec->size(); $j++) {
|
||||
$cr = $attvec->get($j);
|
||||
$valarm['attendees'][] = $cr->email();
|
||||
|
|
Loading…
Add table
Reference in a new issue