mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-03 14:09:23 +00:00
Get the name right.
This commit is contained in:
parent
1be5cd808a
commit
5b43f06eb4
@ -187,7 +187,7 @@ function component_to_xml( $properties, $item ) {
|
||||
}
|
||||
$href = new XMLElement("href", $url );
|
||||
if ( $need_resource ) {
|
||||
if ( !isset($dav_resource) ) $dav_resource = new DAVResource($item->path);
|
||||
if ( !isset($dav_resource) ) $dav_resource = new DAVResource($item->dav_name);
|
||||
$elements = $dav_resource->GetPropStat(array_keys($properties), $reply);
|
||||
array_unshift($elements, $href);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user