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);
|
||||
print $hookmanager->resPrint;
|
||||
if (empty($reshook)) {
|
||||
print $object->showOptionals($extrafields, 'edit');
|
||||
// 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');
|
||||
|
||||
}
|
||||
|
||||
// Template to use by default
|
||||
|
||||
Loading…
Reference in New Issue
Block a user