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 '';