Skip to content

Commit 8b20422

Browse files
Merge pull request #48091 from nextcloud/backport/47316/stable28
2 parents 3af9721 + 0c12c06 commit 8b20422

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/FilesMetadata/FilesMetadataManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function refreshMetadata(
122122
return $this->refreshMetadata($node, self::PROCESS_BACKGROUND);
123123
}
124124

125-
$this->jobList->add(UpdateSingleMetadata::class, [$node->getOwner()->getUID(), $node->getId()]);
125+
$this->jobList->add(UpdateSingleMetadata::class, [$node->getOwner()?->getUID(), $node->getId()]);
126126
}
127127

128128
return $metadata;

0 commit comments

Comments
 (0)