Fix tuff into accountancy

This commit is contained in:
Florian HENRY 2016-02-01 15:08:01 +01:00
parent 65162ae8e9
commit 48b191b1ff
2 changed files with 2 additions and 2 deletions

View File

@ -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');
}

View File

@ -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;
}