diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-06-03 15:27:11 +0200 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2022-06-17 17:31:26 +0200 |
commit | c1f054a9e0176d98e93c2824ee1258b7a38038b2 (patch) | |
tree | 359ded19c20a67f517d512c2d6b1b612e14265e1 /apps | |
parent | de82d4f67ca8d12a0209598f9cdd55302d546524 (diff) | |
download | nextcloud-server-c1f054a9e0176d98e93c2824ee1258b7a38038b2.tar.gz nextcloud-server-c1f054a9e0176d98e93c2824ee1258b7a38038b2.zip |
Fix email shares not being shown to other users
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index ccfebe0bded..ee14e354c52 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -855,7 +855,7 @@ class ShareByMailProvider implements IShareProvider { $or1 ) ); - } else { + } elseif ($node === null) { $qb->andWhere( $qb->expr()->orX( $qb->expr()->eq('uid_owner', $qb->createNamedParameter($userId)), |