FIX: Can't create new attendee

Field date_subscription is mandatory when creating a new attendee.
This commit is contained in:
Quentin-Seekness 2021-10-26 09:54:08 +02:00 committed by GitHub
parent e5a8e41cd9
commit 0c915dc052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,7 @@ if (empty($reshook) && $action == 'add' && (!empty($conference->id) && $conferen
} else {
// Need to create a confattendee
$confattendee->date_creation = dol_now();
$confattendee->date_subscription = dol_now();
$confattendee->email = $email;
$confattendee->fk_project = $project->id;
$confattendee->fk_actioncomm = $id;