Skip to content

Commit

Permalink
Merge pull request #28342 from lars-sh/stable10
Browse files Browse the repository at this point in the history
Fix #27990 - Ensure uniquenes of parents
  • Loading branch information
Vincent Petry authored Jul 10, 2017
2 parents 99e8c78 + 5aec54d commit ea9f7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/DefaultShareProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ private function resolveGroupShares($shares, $userId) {

// Ensure uniquenes of parents
if (!isset($shareParents[$shareParent])) {
$shareParents[] = $shareParent;
$shareParents[$shareParent] = true;
} else {
throw new ProviderException('Parent of share should be unique');
}
Expand Down

0 comments on commit ea9f7d4

Please sign in to comment.