Jump to content

Problem with flight hours being added


Strider

Recommended Posts

Everytime a pilot of mine files a pirep and i accept it, it is doubled in the roster, one guy flew once, had 6.3 on the roster then flew again and got 10.5, it came out as 27.3 is there anything i can do to fix this? If so which file do I have to edit to fix it?

Cheers

Dan C

Link to comment
Share on other sites

  • Administrators

I'm looking into this, but core/classes/util.class.php, line 50 the AddTime() function, though I have a feeling it's somewhere else time being double-added, where I'm missing. Some of the code is unweildy and begs a refactoring

Link to comment
Share on other sites

  • Administrators

I haven't had the chance to figure that bug out yet, but it's on my list.

There's a ticket in the bug tracker, if you subscribe to it, you'll know once it's fixed

Do you have details? Which kind of PIREPs, meaning FSACARs or manual, etc

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