aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-09-16 15:59:26 +0200
committerGitHub <noreply@github.com>2024-09-16 15:59:26 +0200
commit6eefcdba0c4c239b027dfd7d6a2e9a5ef54e18b9 (patch)
tree46524169f4bf62242f616641ace86ca326f8236a /lib
parentcc9c61d580b6dc6f012a96ac898a8bb7a9798b52 (diff)
parentc2e1c9f8dce9c21c0180440f3bceb82f5887053b (diff)
downloadnextcloud-server-6eefcdba0c4c239b027dfd7d6a2e9a5ef54e18b9.tar.gz
nextcloud-server-6eefcdba0c4c239b027dfd7d6a2e9a5ef54e18b9.zip
Merge pull request #47316 from Farcry69/fix/metadata-refresh-crash
Diffstat (limited to 'lib')
-rw-r--r--lib/private/FilesMetadata/FilesMetadataManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/FilesMetadata/FilesMetadataManager.php b/lib/private/FilesMetadata/FilesMetadataManager.php
index 231fb2ec98f..5c1acb77ea7 100644
--- a/lib/private/FilesMetadata/FilesMetadataManager.php
+++ b/lib/private/FilesMetadata/FilesMetadataManager.php
@@ -104,7 +104,7 @@ class FilesMetadataManager implements IFilesMetadataManager {
return $this->refreshMetadata($node, self::PROCESS_BACKGROUND);
}
- $this->jobList->add(UpdateSingleMetadata::class, [$node->getOwner()->getUID(), $node->getId()]);
+ $this->jobList->add(UpdateSingleMetadata::class, [$node->getOwner()?->getUID(), $node->getId()]);
}
return $metadata;