mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Don't set a X-WR-CALNAME unless we have something to set it to.
This commit is contained in:
parent
33d222bb61
commit
a45d0fa3dc
@ -94,7 +94,9 @@ else {
|
|||||||
* the timezones that are referred to by the events we have selected.
|
* the timezones that are referred to by the events we have selected.
|
||||||
*/
|
*/
|
||||||
$vcal = new iCalComponent();
|
$vcal = new iCalComponent();
|
||||||
$vcal->VCalendar( array("X-WR-CALNAME" => $request->collection->dav_displayname ) );
|
if ( isset($request->collection->dav_displayname) ) {
|
||||||
|
$vcal->VCalendar( array("X-WR-CALNAME" => $request->collection->dav_displayname) );
|
||||||
|
}
|
||||||
|
|
||||||
$need_zones = array();
|
$need_zones = array();
|
||||||
$timezones = array();
|
$timezones = array();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user