diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-09-26 13:19:15 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-09-26 13:19:15 +0200 |
commit | e115a7043f4b074025d1eb2ec14df0c3bbf01d87 (patch) | |
tree | e9b14ed1462fdbf7a4eec32a219a52dd4f9a75bb /lib/private/share | |
parent | ed85055d31ab90fdb64f2cadb3062cbf13d3d3d9 (diff) | |
download | nextcloud-server-e115a7043f4b074025d1eb2ec14df0c3bbf01d87.tar.gz nextcloud-server-e115a7043f4b074025d1eb2ec14df0c3bbf01d87.zip |
only create a new share entry, if the user needs a different target name than the group share
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |