From: Bjoern Schiessle Date: Fri, 26 Sep 2014 11:19:15 +0000 (+0200) Subject: only create a new share entry, if the user needs a different target name than the... X-Git-Tag: v8.0.0alpha1~590^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e115a7043f4b074025d1eb2ec14df0c3bbf01d87;p=nextcloud-server.git only create a new share entry, if the user needs a different target name than the group share --- 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; } }