mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Correct reference to displayname field.
This commit is contained in:
parent
28f4c87e36
commit
bd6bee3744
@ -108,7 +108,7 @@ function collection_to_xml( $collection ) {
|
||||
$prop->NewElement("resourcetype", $resourcetypes );
|
||||
}
|
||||
if ( isset($attribute_list['DISPLAYNAME']) ) {
|
||||
$displayname = ( $collection->caldav_displayname == "" ? ucfirst(trim(str_replace("/"," ", $collection->dav_name))) : $collection->caldav_displayname );
|
||||
$displayname = ( $collection->dav_displayname == "" ? ucfirst(trim(str_replace("/"," ", $collection->dav_name))) : $collection->dav_displayname );
|
||||
$prop->NewElement("displayname", $displayname );
|
||||
}
|
||||
if ( isset($attribute_list['GETETAG']) ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user