Fix accesslist when a user has an ID only containting 0-9
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f376659933
commit
3820d6883d
|
@ -1390,7 +1390,7 @@ class Manager implements IManager {
|
||||||
foreach ($tmp as $k => $v) {
|
foreach ($tmp as $k => $v) {
|
||||||
if (isset($al[$k])) {
|
if (isset($al[$k])) {
|
||||||
if (is_array($al[$k])) {
|
if (is_array($al[$k])) {
|
||||||
$al[$k] = array_merge($al[$k], $v);
|
$al[$k] += $v;
|
||||||
} else {
|
} else {
|
||||||
$al[$k] = $al[$k] || $v;
|
$al[$k] = $al[$k] || $v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue