diff --git a/inc/DAVResource.php b/inc/DAVResource.php index b56ef21d..1f2145a6 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -429,6 +429,7 @@ EOSQL; $this->collection->type = 'proxy'; $this->_is_proxy_resource = true; $this->proxy_type = $matches[3]; + $this->collection->proxy_type = $matches[3]; $this->collection->dav_name = $this->dav_name; $this->collection->dav_displayname = sprintf( '%s proxy %s', $matches[2], $matches[3] ); $this->collection->exists = true; @@ -552,6 +553,11 @@ EOSQL; $this->FetchPrincipal(); $this->collection->is_principal = true; $this->collection->type = 'principal'; + } else { + if ($this->collection->type == 'proxy') { + $this->_is_proxy_resource = true; + $this->proxy_type = $this->collection->proxy_type; + } } @dbg_error_log( 'DAVResource', ':FetchCollection: Read cached collection named "%s" of type "%s".', $this->collection->dav_name, $this->collection->type ); }