Merge pull request #22563 from hregis/fix_wrong_name_field

FIX wrong var typo
This commit is contained in:
Laurent Destailleur 2022-10-13 09:46:48 +02:00 committed by GitHub
commit 9eb394033b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -950,7 +950,7 @@ abstract class CommonDocGenerator
}
}
if (array_key_exists('option_'.$key, $object->array_options)) {
if (array_key_exists('options_'.$key, $object->array_options)) {
$array_to_fill = array_merge($array_to_fill, array($array_key.'_options_'.$key => $object->array_options['options_'.$key]));
} else {
$array_to_fill = array_merge($array_to_fill, array($array_key.'_options_'.$key => ''));