mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix error in loader person
This commit is contained in:
parent
4513ef35f6
commit
c27329820e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user