Airline Mogul Forum

Airline Mogul => Bugs => Topic started by: StephenM on July 11, 2007, 06:28:48 pm

Title: New Gate problem
Post by: StephenM on July 11, 2007, 06:28:48 pm
For Air Elbonia...

Shouldn't fiddle with my scripts. :P

Quote
Warning: Division by zero in /home/airlinem/public_html/airlinemogul/view_gates.php on line 84

I believe this is the problem
Quote
View     OTP     Bucharest - Henri Coanda         0     0     100%     €0     1


May take a look myself if I get a chance!
Title: New Gate problem
Post by: Air Elbonia on July 11, 2007, 09:51:54 pm
Alright, i forgot a tiny thing, a DELETE WHERE gates = 0, easy to overlook.  And i think i need to move a different thing to the right a few spots.

for revamping your code, turning it into 5ish queries from the numerous it was... and only having one tiny bug? this is the thanks i get?

:P  Anyways, your gate val's are significantly off, because your gate return feature is off buddy.