Jump to content

[BUG] in Va Stats


Industrialshadow

Recommended Posts

Good Evening

After Update to the new Version i become an Bug

Bevore we have made the update we have flown 3 Flight after the update we have flown 16990 Flight. Thats not correct

Total Flights: 16999

Total Hours Flown: 2.25

Total Flights Today: 0

Total Cargoschedules: 1

Total Aircraft In Fleet: 2

Total Fuel Burned: 1448

Miles Flown: 360

All News: 3

Please check this i dont know where come from the data

Thanks

Link to comment
Share on other sites

Hi pilot,

delete the line 514 in the StatsData.class.php

The whole should look like this:

  public static function TotalFlights($airline_code = '') {

       return self::getTotalForCol(array(
           'table' => 'pireps',
           'column' => 'load',
           'airline_code' => $airline_code,
           'where' => array('accepted' => PIREP_ACCEPTED),
           )
       );

   }

delete also:

'func' => 'SUM',

Joe

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