This commit is contained in:
nat 2024-01-08 02:36:15 +01:00 committed by GitHub
parent 7cbc1c98fc
commit dde442ff6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1595,8 +1595,10 @@ class ExtraFields
$element = $extrafieldsobjectkey; // $extrafieldsobjectkey comes from $object->table_element but we need $object->element
if ($element == 'socpeople') {
$element = 'contact';
} else if ( $element == 'projet' ) {
$element = 'project';
}
//$out = $form->selectForForms($param_list[0], $keyprefix.$key.$keysuffix, $value, $showempty, '', '', $morecss, '', 0, 0, '');
$out = $form->selectForForms($tmparray[0], $keyprefix.$key.$keysuffix, $value, $showempty, '', '', $morecss, '', 0, 0, '', $element.':options_'.$key);
} elseif ($type == 'password') {