Alex Posted April 24, 2010 Report Share Posted April 24, 2010 Does anyone else get this error? In Admin View bids the flightnumb shows instead of the pilot ID (see the image) The top one, the route number shows correctly but the pilot id is using the route number prefix instead of AVA0011 as it should. This is the line from the template. <?php foreach($allbids as $bid) {?> <tr id="row<?php echo $bid->bidid?>"> <td><?php echo $bid->code.$bid->flightnum."({$bid->depicao} - {$bid->arricao})"?></td> <td><?php echo PilotData::GetPilotCode($bid->code, $bid->flightnum).' - '.$bid->firstname.' '.$bid->lastname; ?></td> <td><?php echo $bid->dateadded; ?></td> <td> Alex Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 24, 2010 Administrators Report Share Posted April 24, 2010 Line 24 has a mistake in it, $bid->flightnum - should be - $bid->pilotid <td><?php echo PilotData::GetPilotCode($bid->code, $bid->pilotid).' - '.$bid->firstname.' '.$bid->lastname; ?></td> You can manually change it for now but please add a bug to the bug tracker for it so it is corrected in future versions. . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.