Fix transaction balance
This commit is contained in:
parent
6c743f34b6
commit
6969cde52d
@ -143,7 +143,6 @@ class ExpeditionLineBatch extends CommonObject
|
|||||||
dol_syslog(get_class($this)."::create ".$errmsg, LOG_ERR);
|
dol_syslog(get_class($this)."::create ".$errmsg, LOG_ERR);
|
||||||
$this->error .= ($this->error ? ', '.$errmsg : $errmsg);
|
$this->error .= ($this->error ? ', '.$errmsg : $errmsg);
|
||||||
}
|
}
|
||||||
$this->db->rollback();
|
|
||||||
return -1 * $error;
|
return -1 * $error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user