From f22cd0fd6bc7a03b76eb2969ffcb6e693892c3f7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Jan 2024 17:06:11 +0100 Subject: [PATCH] Update bookkeeping.class.php --- 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 4dd0cb9c12f..cd3d205030f 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -1751,7 +1751,7 @@ class BookKeeping extends CommonObject $now = dol_now(); $this->id = 0; - $this->doc_date = (string) $now; + $this->doc_date = $now; $this->doc_type = ''; $this->doc_ref = ''; $this->fk_doc = 0;