From 00cce278efea43df0938136a600fcc8df6129773 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 19 Mar 2010 10:31:55 +1300 Subject: [PATCH] Fix parent-set response on collections. --- inc/DAVResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index ca3dc8f8..d0b279b2 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -1215,7 +1215,7 @@ EOQRY; case 'DAV::parent-set': $parent_set = $reply->DAVElement( $prop, 'parent-set' ); - if ( preg_match( '{^(.*)/([^/]+)/?$}', $this->bound_from, $matches ) ) { + if ( preg_match( '{^(.*)/([^/]+)/?$}', $this->bound_from(), $matches ) ) { $reply->DAVElement($parent_set, 'parent', array( new XMLElement( 'href', ConstructURL($matches[1])), new XMLElement( 'segment', $matches[2])