Return proper principal on the uploads collection listing

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-01-10 08:35:20 +01:00
parent 167f4624ce
commit e5cc8ebe7a
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ class UploadHome implements ICollection {
}
function getName() {
return 'uploads';
list(,$name) = \Sabre\Uri\split($this->principalInfo['uri']);
return $name;
}
function setName($name) {