From 48b191b1fffe464b76360a6738986d414f59d061 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 1 Feb 2016 15:08:01 +0100 Subject: [PATCH] Fix tuff into accountancy --- htdocs/accountancy/bookkeeping/card.php | 2 +- htdocs/accountancy/class/bookkeeping.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php index 14a0b4800c5..2d7242ff225 100644 --- a/htdocs/accountancy/bookkeeping/card.php +++ b/htdocs/accountancy/bookkeeping/card.php @@ -271,7 +271,7 @@ if ($action == 'create') { print ''; } 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'); } diff --git a/htdocs/accountancy/class/bookkeeping.class.php b/htdocs/accountancy/class/bookkeeping.class.php index 9bc63b87eba..dbca9aeddd9 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -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; }