Jump to content

Bug in Admin View Bids?


Alex

Recommended Posts

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.

viewbids.jpg

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

Link to comment
Share on other sites

  • Administrators

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. B) .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...