fix:use of function updateExtrafield instead of insertExtrafields in interventions

This commit is contained in:
abb 2016-04-16 17:47:49 +01:00
parent cb1772b527
commit c77e121553

View File

@ -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++;