Skip to content

Commit

Permalink
Update PilotPassportActivityUpdate.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kjporter committed Dec 14, 2024
1 parent ef3df8a commit 681c351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/PilotPassportActivityUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function checkPhaseComplete(RealopsPilot $pilot) {
foreach ($challenges as $challenge) {
$challenge_previously_awarded = PilotPassportAward::where('cid', $pilot->id)->where('challenge_id', $challenge->id)->first();
if ($challenge_previously_awarded) {
break;
continue;
}
$challenge_airfields = PilotPassportAirfieldMap::where('mapped_to', $challenge->id)->orderBy('airfield', 'asc')->pluck('airfield')->toArray();
$phase_complete = true;
Expand Down

0 comments on commit 681c351

Please sign in to comment.