Update modules.php
Added $param
This commit is contained in:
parent
6bbd6db84b
commit
e7ac39fe35
@ -65,6 +65,7 @@ $arrayfields = array(
|
||||
);
|
||||
|
||||
$arrayfields = dol_sort_array($arrayfields, 'position');
|
||||
$param = '';
|
||||
|
||||
|
||||
/*
|
||||
@ -277,7 +278,7 @@ if ($arrayfields['module_position']['checked']) {
|
||||
}
|
||||
|
||||
// Fields from hook
|
||||
$parameters = array('arrayfields'=>$arrayfields, 'param'=>empty($param) ? '' : $param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder);
|
||||
$parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder);
|
||||
$reshook = $hookmanager->executeHooks('printFieldListOption', $parameters); // Note that $action and $object may have been modified by hook
|
||||
print $hookmanager->resPrint;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user