From 6411ea4cfc7ca0225c0f761145cf0d2f1ae39b2f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 Apr 2025 02:15:11 +0200 Subject: [PATCH] Doc --- htdocs/accountancy/class/bookkeeping.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/class/bookkeeping.class.php b/htdocs/accountancy/class/bookkeeping.class.php index 6717c0d03a0..c0cb6b6d8b1 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -291,7 +291,7 @@ class BookKeeping extends CommonObject $this->credit = 0.0; } - $result = $this->validBookkeepingDate($this->doc_date); + $result = $this->validBookkeepingDate($this->doc_date); // Check date according to ACCOUNTANCY_FISCAL_PERIOD_MODE. if ($result < 0) { return -1; } elseif ($result == 0) {