From 6978128b484d9bd5e97de30f5186006301f181f6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 14 Nov 2017 17:21:16 +0100 Subject: [PATCH] Fix accesslist when a user has an ID only containting 0-9 Signed-off-by: Joas Schilling --- lib/private/Share20/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index d31a4e30dd6..be019852ff3 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1407,7 +1407,7 @@ class Manager implements IManager { 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; } -- 2.39.5