Fix missing hook
This commit is contained in:
parent
654536a99f
commit
bfa2efcd53
1 changed files with 4 additions and 1 deletions
|
|
@ -335,7 +335,10 @@ foreach ($object->fields as $key => $val) {
|
|||
}
|
||||
// Extra fields
|
||||
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_array_fields.tpl.php';
|
||||
|
||||
// Add hook to complete $arrayfield
|
||||
$parameters = array('arrayfields' => &$arrayfields);
|
||||
$reshook = $hookmanager->executeHooks('completeArrayFields', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||
$sql .= $hookmanager->resPrint;
|
||||
|
||||
$object->fields = dol_sort_array($object->fields, 'position');
|
||||
$arrayfields = dol_sort_array($arrayfields, 'position');
|
||||
|
|
|
|||
Loading…
Reference in a new issue