Skip to content

Commit 5d0e3c6

Browse files
committed
fixup! fix: do not ignore shares if child share is missing
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
1 parent 2d24788 commit 5d0e3c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Db/ShareWrapperRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ public function getSharedWithByPath(
384384
$childAlias = $qb->leftJoinShareChild(CoreQueryBuilder::SHARE);
385385

386386
if ($forChildren) {
387+
$userId = $federatedUser->getUserId();
387388
$path = str_replace('/' . $userId . '/files', '', $path);
388389
$path = rtrim($path, '/');
389390
$childPathTemplate = $this->getQueryBuilder()->getConnection()->escapeLikeParameter($path) . '/_%';

0 commit comments

Comments
 (0)