diff --git a/app/Services/PirepService.php b/app/Services/PirepService.php index 8f6aed67..66fc927c 100644 --- a/app/Services/PirepService.php +++ b/app/Services/PirepService.php @@ -479,7 +479,7 @@ class PirepService extends Service $pirep->refresh(); // Figure out what pirep state should be, if nothing provided yet. - if ($pirep->state != PirepState::ACCEPTED || $pirep->state != PirepState::REJECTED) { + if ($pirep->state != PirepState::ACCEPTED && $pirep->state != PirepState::REJECTED) { $default_state = PirepState::PENDING; } else { $default_state = $pirep->state;