$movement is better known as $object here
This commit is contained in:
parent
51ab54dc3c
commit
a0db287568
@ -38,13 +38,13 @@ if (empty($conf) || !is_object($conf)) {
|
|||||||
// Other attributes
|
// Other attributes
|
||||||
if (!isset($parameters)) $parameters = array();
|
if (!isset($parameters)) $parameters = array();
|
||||||
|
|
||||||
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $movement, $action); // Note that $action and $object may have been modified by hook
|
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||||
print $hookmanager->resPrint;
|
print $hookmanager->resPrint;
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
$params = array();
|
$params = array();
|
||||||
if (isset($tpl_context)) $params['tpl_context'] = $tpl_context;
|
if (isset($tpl_context)) $params['tpl_context'] = $tpl_context;
|
||||||
$params['cols'] = $parameters['colspanvalue'];
|
$params['cols'] = $parameters['colspanvalue'];
|
||||||
print $movement->showOptionals($extrafields, 'create', $params);
|
print $object->showOptionals($extrafields, 'create', $params);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user