Fix regression
This commit is contained in:
parent
7a20b3dcec
commit
e10d89dd36
@ -1722,11 +1722,6 @@ class BookKeeping extends CommonObject
|
|||||||
dol_syslog(__METHOD__, LOG_DEBUG);
|
dol_syslog(__METHOD__, LOG_DEBUG);
|
||||||
$result = $this->db->query($sql);
|
$result = $this->db->query($sql);
|
||||||
if ($result) {
|
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)) {
|
while ($obj = $this->db->fetch_object($result)) {
|
||||||
$line = new BookKeepingLine();
|
$line = new BookKeepingLine();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user