Fix: Bad hook name

This commit is contained in:
Laurent Destailleur 2012-02-22 11:14:11 +01:00
parent 9464aa20c2
commit 4170c9bf3f

View File

@ -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)