mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Merge branch 'master' of gitlab.com:Chill-Projet/chill-bundles
This commit is contained in:
@@ -92,6 +92,11 @@ class UserHelper
|
||||
}
|
||||
$asStrings = [];
|
||||
|
||||
if (array_key_exists('uid', $decoded) || is_numeric($decoded)) {
|
||||
// this is a single value. We have to wrap it into an array
|
||||
$decoded = [$decoded];
|
||||
}
|
||||
|
||||
foreach ($decoded as $userId) {
|
||||
if (is_array($userId)) {
|
||||
$uid = $userId['uid'];
|
||||
|
Reference in New Issue
Block a user