Fix tuff into accountancy
This commit is contained in:
parent
65162ae8e9
commit
48b191b1ff
@ -271,7 +271,7 @@ if ($action == 'create') {
|
||||
print '</form>';
|
||||
} else {
|
||||
$book = new BookKeeping($db);
|
||||
$result = $book->fetch_per_mvt($piece_num);
|
||||
$result = $book->fetchPerMvt($piece_num);
|
||||
if ($result < 0) {
|
||||
setEventMessages($book->error, $book->errors, 'errors');
|
||||
}
|
||||
|
||||
@ -1067,7 +1067,7 @@ class BookKeeping extends CommonObject
|
||||
}
|
||||
} else {
|
||||
$this->error = "Error " . $this->db->lasterror();
|
||||
dol_syslog(get_class($this) . "::fetch_per_mvt " . $this->error, LOG_ERR);
|
||||
dol_syslog(get_class($this) . "::fetch_all_per_mvt " . $this->error, LOG_ERR);
|
||||
return - 1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user