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
Next Next commit
Update lib/private/Share20/Manager.php
fixed tabulator

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

// Identical share already existst
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 user');
}

Expand Down