Update card.php
This commit is contained in:
parent
30266b00eb
commit
e15d91640b
@ -1758,7 +1758,14 @@ if ($action == 'create' && $usercancreate)
|
|||||||
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action);
|
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action);
|
||||||
print $hookmanager->resPrint;
|
print $hookmanager->resPrint;
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
|
// copy from thirdparty
|
||||||
|
$tpExtrafields = new Extrafields($db);
|
||||||
|
$tpExtrafieldLabels = $tpExtrafields->fetch_name_optionals_label($soc->table_element);
|
||||||
|
if ($soc->fetch_optionals() > 0) {
|
||||||
|
$object->array_options = array_merge($object->array_options, $soc->array_options);
|
||||||
|
}
|
||||||
print $object->showOptionals($extrafields, 'edit');
|
print $object->showOptionals($extrafields, 'edit');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Template to use by default
|
// Template to use by default
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user