From 5b43f06eb4402eb75c2e3de926e686f3d9795e94 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 8 Jul 2012 23:27:04 +1200 Subject: [PATCH] Get the name right. --- inc/caldav-REPORT.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index df899122..5eff90fb 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -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); } -- 2.11.4.GIT