diff --git a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php index b95a162..84dcf06 100644 --- a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php +++ b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php @@ -76,6 +76,7 @@ class SeatAuditionFormController extends Controller // Deal with mass decline doubler request if ($request->input('decline-below')) { Cache::forget('audition'.$audition->id.'seating'); + $changes_made = false; foreach ($entries as $entry) { $doublerData = $this->doublerService->entryDoublerData($entry); @@ -89,6 +90,9 @@ class SeatAuditionFormController extends Controller } } if ($changes_made) { + $cache_key = 'event'.$audition->event_id.'doublers-seating'; + Cache::forget($cache_key); + return redirect()->back(); } }