]> source.dussan.org Git - nextcloud-server.git/commitdiff
only create a new share entry, if the user needs a different target name than the...
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 26 Sep 2014 11:19:15 +0000 (13:19 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 26 Sep 2014 11:19:15 +0000 (13:19 +0200)
lib/private/share/share.php

index 504230dde04416ee78a07b2d0103e358fb584392..706c51e4bdc42c063d79fc68e6fd4727c0e2afb0 100644 (file)
@@ -1707,7 +1707,7 @@ class Share extends \OC\Share\Constants {
                                        $fileTarget = null;
                                }
 
-                               if ($itemTarget === $groupItemTarget) {
+                               if ($itemTarget === $groupItemTarget && (isset($fileSource) && $fileTarget === $groupItemTarget)) {
                                        continue;
                                }
                        }