Update lib/private/Share20/Manager.php
tabulator change Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
This commit is contained in:
parent
bb367f8cdd
commit
ab7858d1a9
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class Manager implements IManager {
|
|||
//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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue