Skip to content

Commit

Permalink
Merge pull request #7168 from nextcloud/fix-user-list
Browse files Browse the repository at this point in the history
Fix accesslist when a user has an ID only containting 0-9
  • Loading branch information
blizzz authored Nov 23, 2017
2 parents 106d932 + 3820d68 commit 98cdd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ public function getAccessList(\OCP\Files\Node $path, $recursive = true, $current
foreach ($tmp as $k => $v) {
if (isset($al[$k])) {
if (is_array($al[$k])) {
$al[$k] = array_merge($al[$k], $v);
$al[$k] += $v;
} else {
$al[$k] = $al[$k] || $v;
}
Expand Down

0 comments on commit 98cdd98

Please sign in to comment.