FIX : Missing begin transaction when updating supplier recurring invoice
This commit is contained in:
parent
4c5ac44621
commit
39f3fe4606
1 changed files with 2 additions and 0 deletions
|
|
@ -520,6 +520,8 @@ class FactureFournisseurRec extends CommonInvoice
|
|||
$sql .= " auto_validate = ". (!empty($this->auto_validate) ? ((int) $this->auto_validate) : 0);
|
||||
$sql .= " WHERE rowid = ". (int) $this->id;
|
||||
|
||||
$this->db->begin();
|
||||
|
||||
dol_syslog(get_class($this)."::update", LOG_DEBUG);
|
||||
$resql = $this->db->query($sql);
|
||||
if ($resql) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue