Bureaucrats, emailconfirmed, Administrators
825
edits
| Line 81: | Line 81: | ||
// Actions on extra fields (by external module or standard code) | // Actions on extra fields (by external module or standard code) | ||
// FIXME le hook fait double emploi avec le trigger !! | // FIXME le hook fait double emploi avec le trigger !! | ||
$hookmanager->initHooks(array(' | $hookmanager->initHooks(array('''module''dao')); | ||
$parameters=array('socid'=>$this->id); | $parameters=array('socid'=>$this->id); | ||
$reshook=$hookmanager->executeHooks('insertExtraFields',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks | $reshook=$hookmanager->executeHooks('insertExtraFields',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks | ||