fix extrafield list of fileds
This commit is contained in:
parent
32ebe8f4d7
commit
deceeea8ff
@ -119,6 +119,8 @@ $arrayfields = array(
|
|||||||
// Extra fields
|
// Extra fields
|
||||||
if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) {
|
if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) {
|
||||||
foreach ( $extrafields->attribute_label as $key => $val ) {
|
foreach ( $extrafields->attribute_label as $key => $val ) {
|
||||||
|
$typeofextrafield=$extrafields->attribute_type[$key];
|
||||||
|
if ($typeofextrafield!='separate') {
|
||||||
$arrayfields["ef." . $key] = array(
|
$arrayfields["ef." . $key] = array(
|
||||||
'label' => $extrafields->attribute_label[$key],
|
'label' => $extrafields->attribute_label[$key],
|
||||||
'checked' => $extrafields->attribute_list[$key],
|
'checked' => $extrafields->attribute_list[$key],
|
||||||
@ -127,6 +129,7 @@ if (is_array($extrafields->attribute_label) && count($extrafields->attribute_lab
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php';
|
include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user