Author Topic: Can i review one REJECTED flight?  (Read 54 times)

Sideral

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can i review one REJECTED flight?
« on: March 10, 2019, 11:57:30 AM »
I made a mistake in validating a flight, I reject. I need to validate it again, how can I do it?

Thanks!

Sophie

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Can i review one REJECTED flight?
« Reply #1 on: March 12, 2019, 06:44:12 PM »
In the responsible PHP it says that the following will be changed.

UPDATE pireps set valid=2, paid=0 where pirep_id=$flight

That means you can do the following,

go to your database under the table vampireps and search for the flight, then set the variable validatet to 0.

Now the flight should appear in the admin panel again and you can validate it again.

Or set the values validated and paid to 1. Then the flight is validated immediately.

Sophie

Please use the search function, this will help you with most of the questions asked here.

Sideral

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can i review one REJECTED flight?
« Reply #2 on: March 14, 2019, 10:48:59 PM »
Works perfect! Thank you!