summaryrefslogtreecommitdiffstats
path: root/lib/private/share
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-26 13:19:15 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-26 13:19:15 +0200
commite115a7043f4b074025d1eb2ec14df0c3bbf01d87 (patch)
treee9b14ed1462fdbf7a4eec32a219a52dd4f9a75bb /lib/private/share
parented85055d31ab90fdb64f2cadb3062cbf13d3d3d9 (diff)
downloadnextcloud-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.php2
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;
}
}