mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
FIX [normalizer] remove keys to have simple array of objects
This commit is contained in:
@@ -52,7 +52,7 @@ class PickUserDynamicType extends AbstractType
|
||||
$view->vars['uniqid'] = uniqid('pick_user_dyn');
|
||||
|
||||
foreach ($options['suggested'] as $user) {
|
||||
$view->vars['suggested'][spl_object_hash($user)] = $this->normalizer->normalize($user, 'json', ['groups' => 'read']);
|
||||
$view->vars['suggested'][] = $this->normalizer->normalize($user, 'json', ['groups' => 'read']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user