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:
Joas Schilling 2017-11-14 17:21:16 +01:00
parent 4a4cf2613c
commit 6978128b48
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}