From 85fc1c18f0199839899967903955ab70fa032b57 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 24 Oct 2008 18:06:13 +1300 Subject: [PATCH] Fix bug from refactoring. --- inc/caldav-PROPFIND.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/caldav-PROPFIND.php b/inc/caldav-PROPFIND.php index 49a8c393..eb27d1c9 100644 --- a/inc/caldav-PROPFIND.php +++ b/inc/caldav-PROPFIND.php @@ -427,8 +427,6 @@ function item_to_xml( $item ) { $allprop = isset($prop_list['DAV::allprop']); - $item->properties = get_arbitrary_properties($item->dav_name); - $url = ConstructURL($item->dav_name); $prop = new XMLElement("prop"); @@ -464,6 +462,8 @@ function item_to_xml( $item ) { */ add_general_properties( $prop, $not_found, $denied, $item ); + add_arbitrary_properties($prop, $not_found, $item ); + return build_propstat_response( $prop, $not_found, $denied, $url ); }