Merge pull request #23748 from OPEN-DSI/develop_fix_insert_extra_fields_on_link_type_when_error
FIX: Remove orphelan $this->db->rollback() in the function insertExtrafields()
This commit is contained in:
commit
cd8db1c60d
@ -6288,7 +6288,6 @@ abstract class CommonObject
|
|||||||
$new_array_options[$key] = $object->id;
|
$new_array_options[$key] = $object->id;
|
||||||
} else {
|
} else {
|
||||||
$this->error = "Id/Ref '".$value."' for object '".$object->element."' not found";
|
$this->error = "Id/Ref '".$value."' for object '".$object->element."' not found";
|
||||||
$this->db->rollback();
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user