Author Topic: [VAM2.6] Route booking shows departure country instead of arrival country  (Read 828 times)

Timothee

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Hey

In route_selection_stage2.php there is an error in the SQL statement. When selecting an aircraft for a route the arrival airport shows the name and flag of the departure aiport.
The following line has to be changed:
Code: [Select]
AND a2.ident=r.departure
to
Code: [Select]
AND a2.ident=r.arrival

This issue has been fixed already in my modified query over here: http://virtualairlinesmanager.net/foro//index.php?topic=1054.0

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: [VAM2.6] Route booking shows departure country instead of arrival country
« Reply #1 on: December 10, 2016, 05:28:07 PM »
Hey

In route_selection_stage2.php there is an error in the SQL statement. When selecting an aircraft for a route the arrival airport shows the name and flag of the departure aiport.
The following line has to be changed:
Code: [Select]
AND a2.ident=r.departure
to
Code: [Select]
AND a2.ident=r.arrival

This issue has been fixed already in my modified query over here: http://virtualairlinesmanager.net/foro//index.php?topic=1054.0

solved in Hot Fix 02.
Your comments in the forum are very appreciated, your experiemce in the source code save me time becasue you put really whats is failing . thanks :-)
VAM Creator and programmer.