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

This commit is contained in:
Bjoern Schiessle 2014-09-26 13:19:15 +02:00
parent ed85055d31
commit e115a7043f

View file

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