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