Skip to content

Commit 30f4591

Browse files
committed
chore: added missing flag
1 parent 187e5a6 commit 30f4591

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/Services/Model/Imp/SummitRSVPService.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,15 @@ function (
537537
// send email
538538
if (!$rsvp instanceof RSVP) return;
539539

540-
if ($rsvp->getSeatType() == RSVP::SeatTypeRegular)
540+
if ($rsvp->getSeatType() == RSVP::SeatTypeRegular) {
541+
$add_excerpt = true;
541542
RSVPRegularSeatMail::dispatch($rsvp);
543+
}
542544

543-
if ($rsvp->getSeatType() == RSVP::SeatTypeWaitList)
545+
if ($rsvp->getSeatType() == RSVP::SeatTypeWaitList) {
546+
$add_excerpt = true;
544547
RSVPWaitListSeatMail::dispatch($rsvp);
548+
}
545549

546550
if ($add_excerpt) {
547551
$onDispatchSuccess(

0 commit comments

Comments
 (0)