using validate() function instead of settStatut(1) to validate an attendee
This commit is contained in:
parent
7d0c3dcf6d
commit
f6956d6a62
@ -1006,7 +1006,7 @@ if ($ispaymentok) {
|
|||||||
if ($resultattendee < 0) {
|
if ($resultattendee < 0) {
|
||||||
setEventMessages(null, $attendeetovalidate->errors, "errors");
|
setEventMessages(null, $attendeetovalidate->errors, "errors");
|
||||||
} else {
|
} else {
|
||||||
$attendeetovalidate->setStatut(1);
|
$attendeetovalidate->validate($user);
|
||||||
|
|
||||||
// Sending mail
|
// Sending mail
|
||||||
$thirdparty = new Societe($db);
|
$thirdparty = new Societe($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user