Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update lib/private/Share20/Manager.php
tabulator change

Co-Authored-By: aignerat <[email protected]>
  • Loading branch information
2 people authored and Backportbot committed Mar 20, 2019
commit ab7858d1a9d8860cfdb9b47aa843840fa02689ba
2 changes: 1 addition & 1 deletion lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ protected function groupCreateChecks(\OCP\Share\IShare $share) {
//It is a new share so just continue
}

if ($existingShare->getSharedWith() === $share->getSharedWith() && ($existingShare->getShareType() === $share->getShareType())) {
if ($existingShare->getSharedWith() === $share->getSharedWith() && $existingShare->getShareType() === $share->getShareType()) {
throw new \Exception('Path is already shared with this group');
}
}
Expand Down