I have a question about addon PIREP fields. When you fill them out and turn in your PIREP, the info in the fields doesn’t show up when I accept it. Is there a way to fix this?
Hmm. Can someone confirm this? It’s working on my test install.
Lemme check it on my other server.
I did one on our test site, it all worked fine.
The fields show up (dep. and arr. time are two of them) but they are blank. (no info in them) Can I just change templates to fix it or would that not be a workable solution.
If you edit the PIREP in the admin panel, does it save then?
Yes, so that’s what I’m doing, and it isn’t really a problem.
I’ll take a look and see if I can spot anything. Sorry about that!
No problem.
Alright, this error is fixed too
Open /core/common/PIREPData.class.php, around line 316, there is:
DB::$insert_id = $pirepid;
Move this a few lines down, just above the “return true” line. Then you’ll be ok.