mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-31 20:52:17 +01:00
fix undefined variable $vevent
using the return value of createComponent
This commit is contained in:
parent
bbe1b8ef4d
commit
bb600cd86f
@ -827,7 +827,7 @@ class Contact extends VObject\VCard implements IPIMObject {
|
||||
}
|
||||
$vcal = new \Sabre\VObject\Component\VCalendar();
|
||||
$vcal->VERSION = '2.0';
|
||||
$vcal->createComponent('VEVENT');
|
||||
$vevent = $vcal->createComponent('VEVENT');
|
||||
$vevent->add('DTSTART');
|
||||
$vevent->DTSTART->setDateTime(
|
||||
$date
|
||||
|
Loading…
x
Reference in New Issue
Block a user