mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Fix typo.
This commit is contained in:
parent
5fc143c1bc
commit
f2d05b0bcd
@ -78,7 +78,7 @@ function calendar_to_xml( $properties, $item ) {
|
|||||||
elseif ( $c->hide_alarm ) {
|
elseif ( $c->hide_alarm ) {
|
||||||
// Otherwise we hide the alarms (if configured to)
|
// Otherwise we hide the alarms (if configured to)
|
||||||
$ical = new iCalendar( array( "icalendar" => $item->caldav_data) );
|
$ical = new iCalendar( array( "icalendar" => $item->caldav_data) );
|
||||||
$caldav_data = $ical->render(true, $item->caldav_type, $ical->DefaultPropertyList()() );
|
$caldav_data = $ical->render(true, $item->caldav_type, $ical->DefaultPropertyList() );
|
||||||
$prop->NewElement("calendar-data","$caldav_data" , array("xmlns" => "urn:ietf:params:xml:ns:caldav") );
|
$prop->NewElement("calendar-data","$caldav_data" , array("xmlns" => "urn:ietf:params:xml:ns:caldav") );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user