FIX: Can't create new attendee
Field date_subscription is mandatory when creating a new attendee.
This commit is contained in:
parent
e5a8e41cd9
commit
0c915dc052
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user