From 1fc26b29db5bbb5de4b6e951c35fd7e634d048e0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 29 Jun 2024 14:17:02 +0200 Subject: [PATCH] Debug v20 --- htdocs/public/eventorganization/attendee_new.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 '

'; }