Fix error where a modified subscore would not count for seating if there is no advancement.
This commit is contained in:
parent
a5b203af2e
commit
55d5dba840
|
|
@ -110,6 +110,10 @@ class ScoringGuideController extends Controller
|
|||
'Cannot update a subscore for a different scoring guide');
|
||||
}
|
||||
$validateData = $validateData = $request->validated();
|
||||
if (! auditionSetting('advanceTo')) {
|
||||
$validateData['for_advance'] = 0;
|
||||
$validateData['for_seating'] = 1;
|
||||
}
|
||||
|
||||
$subscore->update([
|
||||
'name' => $validateData['name'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue