Quickfix dealing with a student incorrectly identifying as a doubler when not entered for seating in one audition but only advancement

This commit is contained in:
Matt Young 2025-11-08 17:16:21 -06:00
parent 6f657415aa
commit 87e3ec322d
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Entry extends Model
// If we're looking for seating rank, return the rank from the list of ranked entries
if ($type === 'seating') {
return $rankedEntries->where('id', $this->id)->first()->seatingRank;
return $rankedEntries->where('id', $this->id)->first()->seatingRank ?? 'No Rank';
}
return $rankedEntries->where('id', $this->id)->first()->advancementRank;