mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +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:
commit
cd8db1c60d
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user