diff --git a/htdocs/public/eventorganization/attendee_new.php b/htdocs/public/eventorganization/attendee_new.php index ac3f67baa9d..f8bacc3d940 100644 --- a/htdocs/public/eventorganization/attendee_new.php +++ b/htdocs/public/eventorganization/attendee_new.php @@ -917,7 +917,11 @@ if ((!empty($conference->id) && $conference->status == ConferenceOrBooth::STATUS } } else { print '

'; - print $langs->trans("ConferenceIsNotConfirmed"); + if ($project->status == $project::STATUS_DRAFT) { + print $langs->trans("ConferenceIsNotConfirmed"); + } else { + print $langs->trans("EventRegistrationAreClosed"); + } print '

'; }