fix on status change when a booth is paid

This commit is contained in:
Dorian Vabre 2021-05-07 15:05:37 +02:00
parent 6111f43946
commit dbde0f0b02

View File

@ -1176,7 +1176,7 @@ if ($ispaymentok) {
$error++;
setEventMessages(null, $booth->errors, "errors");
} else {
$booth->setStatut(CONFERENCEORBOOTH::STATUS_SUGGESTED);
$booth->status = CONFERENCEORBOOTH::STATUS_SUGGESTED;
$resultboothupdate = $booth->update($user);
if ($resultboothupdate<0) {
// Finding the thirdparty by getting the invoice