mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-14 03:34:38 +00:00
Fix parent-set response on collections.
This commit is contained in:
parent
8a26fa4b82
commit
00cce278ef
@ -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])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user