Fix bug from refactoring.

This commit is contained in:
Andrew McMillan 2008-10-24 18:06:13 +13:00
parent e2ea1d89ce
commit 85fc1c18f0

View File

@ -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 );
}