mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
export: cast role as string in PickCenterType
This commit is contained in:
parent
c76f2a81c9
commit
31e1bfdf80
@ -80,7 +80,7 @@ class PickCenterType extends AbstractType
|
|||||||
$export = $this->exportManager->getExport($options['export_alias']);
|
$export = $this->exportManager->getExport($options['export_alias']);
|
||||||
$centers = $this->authorizationHelper->getReachableCenters(
|
$centers = $this->authorizationHelper->getReachableCenters(
|
||||||
$this->user,
|
$this->user,
|
||||||
$export->requiredRole()->__toString()
|
(string) $export->requiredRole()
|
||||||
);
|
);
|
||||||
|
|
||||||
$builder->add(self::CENTERS_IDENTIFIERS, EntityType::class, [
|
$builder->add(self::CENTERS_IDENTIFIERS, EntityType::class, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user