From 4fe73e1fc3bf72c70f8bd56c9ac1c7a260796272 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 13 Apr 2023 10:40:57 +0200 Subject: [PATCH] Fix duplicate defined --- htdocs/public/eventorganization/attendee_new.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/htdocs/public/eventorganization/attendee_new.php b/htdocs/public/eventorganization/attendee_new.php index 1b9a555f246..f74c5b8fa24 100644 --- a/htdocs/public/eventorganization/attendee_new.php +++ b/htdocs/public/eventorganization/attendee_new.php @@ -34,9 +34,7 @@ if (!defined('NOIPCHECK')) { if (!defined('NOBROWSERNOTIF')) { define('NOBROWSERNOTIF', '1'); } -if (!defined('NOIPCHECK')) { - define('NOIPCHECK', '1'); // Do not check IP defined into conf $dolibarr_main_restrict_ip -} + // For MultiCompany module. // Do not use GETPOST here, function is not defined and define must be done before including main.inc.php @@ -553,8 +551,8 @@ if (empty($reshook) && $action == 'add' && (!empty($conference->id) && $conferen // Add link between invoice and the attendee registration /*if (!$error) { - $facture->add_object_linked($confattendee->element, $confattendee->id); - }*/ + $facture->add_object_linked($confattendee->element, $confattendee->id); + }*/ } if (!$error) { @@ -726,6 +724,9 @@ if ($project->date_start_event || $project->date_end_event) { if ($project->location) { print ''.dol_escape_htmltag($project->location).'
'; } +if ($project->note_public) { + print '
'.dol_escape_htmltag($project->note_public).'
'; +} print '';