diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index ae3caa29b91..7d7b27df890 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -465,7 +465,7 @@ class FilesPlugin extends ServerPlugin { $requestProperties = $propFind->getRequestedProperties(); - if ($this->config->getSystemValueBool('enable_file_metadata', true)) { + if ($this->config->getSystemValueBool('enable_file_metadata', true) && $propFind->getDepth() === 1) { $requestedMetaData = []; foreach ($requestProperties as $requestProperty) { if (isset(self::ALL_METADATA_PROPS[$requestProperty])) {