Update lib/private/Share20/Manager.php
fixed tabulator Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
This commit is contained in:
parent
cde8a2896d
commit
2a3645a5a8
|
@ -438,7 +438,7 @@ class Manager implements IManager {
|
|||
}
|
||||
|
||||
// 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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue