From e115a7043f4b074025d1eb2ec14df0c3bbf01d87 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 26 Sep 2014 13:19:15 +0200 Subject: [PATCH] only create a new share entry, if the user needs a different target name than the group share --- lib/private/share/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 504230dde04..706c51e4bdc 100644 --- a/lib/private/share/share.php +++ b/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; } } -- 2.39.5