Fix regression

This commit is contained in:
Laurent Destailleur 2022-06-09 03:00:51 +02:00
parent 7a20b3dcec
commit e10d89dd36

View File

@ -1722,11 +1722,6 @@ class BookKeeping extends CommonObject
dol_syslog(__METHOD__, LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
// Add an empty line when transaction is validated to permit to add new line manually
if ($mode != "_tmp") {
$line = new BookKeepingLine();
$this->linesmvt[] = $line;
}
while ($obj = $this->db->fetch_object($result)) {
$line = new BookKeepingLine();