Commit c2732982 authored by Julien Fastré's avatar Julien Fastré

fix error in loader person

parent 4513ef35
Pipeline #71421 canceled with stages
......@@ -71,6 +71,10 @@ class PersonChoiceLoader implements ChoiceLoaderInterface
$choices = [];
foreach($values as $value) {
if (empty($value)) {
continue;
}
$person = $this->personRepository->find($value);
if ($this->hasCenterFilter() &&
......@@ -85,7 +89,7 @@ class PersonChoiceLoader implements ChoiceLoaderInterface
}
public function loadValuesForChoices(array $choices, $value = null)
{
{dump($choices);
$values = [];
foreach ($choices as $choice) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment