Skip to content

Commit 5da3604

Browse files
committed
Only return the value of metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent 7f79f32 commit 5da3604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/lib/Connector/Sabre/FilesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node)
381381
});
382382

383383
foreach ($node->getFileInfo()->getMetadata() as $metadataKey => $metadataValue) {
384-
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, $metadataValue);
384+
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, $metadataValue['value']);
385385
}
386386

387387
/**

0 commit comments

Comments
 (0)