Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-14 13:38:16 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-14 13:38:16 +0300
commitbfac6c5eb711442d87912e0706548774b2726751 (patch)
tree36c1c89de3200c1e153fd02c5de68151d78fde07 /lib
parent01cc38018a81ae5ab72566b255d77b6d08ae6206 (diff)
parent06aaa059d177e42d6bf674a22588ccc98f91b3e1 (diff)
Merge pull request #19730 from owncloud/fix_17560
Squash collection shares
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 932586b5c27..aafaeca9768 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1914,6 +1914,7 @@ class Share extends Constants {
}
}
if (!empty($collectionItems)) {
+ $collectionItems = array_unique($collectionItems, SORT_REGULAR);
$items = array_merge($items, $collectionItems);
}