mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
only create a new share entry, if the user needs a different target name than the group share
This commit is contained in:
parent
ed85055d31
commit
e115a7043f
1 changed files with 1 additions and 1 deletions
|
|
@ -1707,7 +1707,7 @@ class Share extends \OC\Share\Constants {
|
|||
$fileTarget = null;
|
||||
}
|
||||
|
||||
if ($itemTarget === $groupItemTarget) {
|
||||
if ($itemTarget === $groupItemTarget && (isset($fileSource) && $fileTarget === $groupItemTarget)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue