Skip to content

Commit

Permalink
fixup! fixup! Transfer shares of the transferred root node
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Aug 31, 2020
1 parent 25b9701 commit e4f77ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/Service/OwnershipTransferService.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private function collectUsersShares(string $sourceUid,
$relativePath = $view->getPath($share->getNodeId());
$singleFileTranfer = $view->is_file($path);
if ($singleFileTranfer) {
return $relativePath === $path;
return Filesystem::normalizePath($relativePath) === Filesystem::normalizePath($path);
}

return mb_strpos(
Expand Down

0 comments on commit e4f77ec

Please sign in to comment.