only create a new share entry, if the user needs a different target name than the group share

remotes/origin/fix-10825
Bjoern Schiessle 12 years ago
parent ed85055d31
commit e115a7043f
  1. 2
      lib/private/share/share.php

@ -1707,7 +1707,7 @@ class Share extends \OC\Share\Constants {
$fileTarget = null;
}
if ($itemTarget === $groupItemTarget) {
if ($itemTarget === $groupItemTarget && (isset($fileSource) && $fileTarget === $groupItemTarget)) {
continue;
}
}

Loading…
Cancel
Save