From f532f85d8ca5c48877fde1efc0806f98f15f6d02 Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Fri, 26 Sep 2025 20:54:21 +0200 Subject: [PATCH] fix: remove space in global conf test (#35484) --- htdocs/compta/facture/class/facture.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 81d90568684..1cf2eb63f87 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -3240,7 +3240,7 @@ class Facture extends CommonInvoice $this->date = dol_now(); $this->date_lim_reglement = $this->calculate_date_lim_reglement(); } - if (!empty($conf->global-> INVOICE_CHECK_POSTERIOR_DATE)) { + if (!empty($conf->global->INVOICE_CHECK_POSTERIOR_DATE)) { $last_of_type = $this->willBeLastOfSameType(true); if (!$last_of_type[0]) { $this->error = $langs->transnoentities("ErrorInvoiceIsNotLastOfSameType", $this->ref, dol_print_date($this->date, 'day'), dol_print_date($last_of_type[1], 'day'));