@@ -146,7 +146,7 @@ abstract class AbstractFieldDefinition | |||
$fieldArray = []; | |||
foreach($configureFieldArray as $fieldName) { | |||
if(isset($allFieldArray[$fieldName])) { | |||
$fieldArray[] = $allFieldArray[$fieldName]; | |||
$fieldArray[$fieldName] = $allFieldArray[$fieldName]; | |||
} | |||
else { | |||
throw new \ErrorException('Le field "'.$fieldName.'" n\'est pas défini dans configureFields()'); |