mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
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:
@@ -6288,7 +6288,6 @@ abstract class CommonObject
|
||||
$new_array_options[$key] = $object->id;
|
||||
} else {
|
||||
$this->error = "Id/Ref '".$value."' for object '".$object->element."' not found";
|
||||
$this->db->rollback();
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user