From 4170c9bf3f732a88aea6af41ab6d1308821484fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 22 Feb 2012 11:14:11 +0100 Subject: [PATCH] Fix: Bad hook name --- htdocs/adherents/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index bccc2733d21..7621df556b1 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -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)