Skip to content

Commit

Permalink
Merge pull request #28080 from lars-sh/master
Browse files Browse the repository at this point in the history
Fix #27990 - Ensure uniquenes of parents
  • Loading branch information
Vincent Petry committed Jul 4, 2017
2 parents 73eaa38 + e2f90c7 commit 333e682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/DefaultShareProvider.php
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 333e682

Please sign in to comment.