Skip to content

Commit

Permalink
fixup! fix: add owner fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Dec 12, 2024
1 parent 87e5eb3 commit 969a06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_versions/lib/Listener/FileEventsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ private function getPathForNode(Node $node): ?string {

$owner = $node->getOwner()?->getUid();

if ($owner) {
if ($owner !== null) {
$path = $this->rootFolder
->getUserFolder($owner)
->getRelativePath($node->getPath());
Expand Down

0 comments on commit 969a06a

Please sign in to comment.