Skip to content

Commit

Permalink
add in french
Browse files Browse the repository at this point in the history
  • Loading branch information
fredbradley committed Sep 3, 2024
1 parent 50f46a1 commit c701866
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Logic/SetMappers/Gcses.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public function handle(?int $year): int|string
return (int) substr($code, 2, 1);
}

if ($year === 10) {
if ($subject === 'French') {
return 'Option B';
}
}
// CMFL -- remove if statement block in M24
//if ($year === 11) {
if (preg_match('^\A'.$year.'\.?[0-9]/(Fr|Sp)\Z^', $code, $matches)) {
Expand Down

0 comments on commit c701866

Please sign in to comment.