Administrators Nabeel Posted June 2, 2012 Administrators Report Share Posted June 2, 2012 Changed Files: m core/common/PIREPData.class.php Merge pull request #68 from Vansers/master Doh! View complete changes Download from here Link to comment Share on other sites More sharing options...
Moderators Kyle Posted June 3, 2012 Moderators Report Share Posted June 3, 2012 Just a note for everyone who is using the PIREP list, such as recent flights. To get the pilot code, it would be like this - $pirep->pcode.''.$pirep->pilotid Or it doesn't matter really on what you prefer. $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); $pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname $pcode = pilot code $code = pirep code Link to comment Share on other sites More sharing options...
Recommended Posts