Fix: Bad hook name
This commit is contained in:
parent
9464aa20c2
commit
4170c9bf3f
@ -1305,7 +1305,7 @@ if ($rowid && $action != 'edit')
|
||||
|
||||
// Other attributes
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('showOutputField',$parameters,$object,$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
|
||||
if (empty($reshook) && ! empty($extrafields->attribute_label))
|
||||
{
|
||||
foreach($extrafields->attribute_label as $key=>$label)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user