From bea075b3bb5be52e00d4a31b41bc0b141622af49 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 7 Jan 2023 21:37:51 +0100 Subject: [PATCH] Fix php 8 error --- htdocs/core/modules/mailings/eventorganization.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/mailings/eventorganization.modules.php b/htdocs/core/modules/mailings/eventorganization.modules.php index 84c27c5f673..0d0ffb63c3a 100644 --- a/htdocs/core/modules/mailings/eventorganization.modules.php +++ b/htdocs/core/modules/mailings/eventorganization.modules.php @@ -188,7 +188,7 @@ class mailing_eventorganization extends MailingTargets include_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php'; $formproject = new FormProjets($this->db); - $s .= $formproject->select_projects(-1, 0, "filter_eventorganization", 0, 0, 1, 1, 0, 0, 0, '', 1, 0, '', '', 'usage_organize_event=1'); + $s = $formproject->select_projects(-1, 0, "filter_eventorganization", 0, 0, 1, 1, 0, 0, 0, '', 1, 0, '', '', 'usage_organize_event=1'); return $s; }