diff --git a/lib/private/share/share.php b/lib/private/share/share.php index e0e9fcfd05fadc269b0b4f34dd2afb5655679d84..504230dde04416ee78a07b2d0103e358fb584392 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1664,9 +1664,9 @@ class Share extends \OC\Share\Constants { $itemTarget = $sourceExists['item_target']; // for group shares we don't need a additional entry if the target is the same - //if($isGroupShare && $groupItemTarget === $itemTarget) { - // continue; - //} + if($isGroupShare && $groupItemTarget === $itemTarget) { + continue; + } } elseif(!$sourceExists && !$isGroupShare) {