Skip to content
Snippets Groups Projects
Commit 46766214 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5046 from bafbes/abb-17

fix:use of function updateExtrafield instead of insertExtrafields in interventions
parents 1de36d65 c77e1215
No related branches found
No related tags found
No related merge requests found
......@@ -882,8 +882,7 @@ if (empty($reshook))
$parameters=array('id'=>$object->id);
$reshook=$hookmanager->executeHooks('insertExtraFields',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
if (empty($reshook))
{
$result=$object->insertExtraFields();
{ $result=$object->updateExtraField($_POST["attribute"]);
if ($result < 0)
{
$error++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment