/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
I brokered a plane for someone via the "Broker Request" tab. After the aircraft was delivered, some days later, the option was displayed for me to purchase the aircraft. I purchased the aircraft and it now shows up in my fleet. However, the aircraft shows it has 24 hours available, but the system won't let me schedule the plane for any routes. When looking at the planes info, it shows that it's already scheduled on other routes and it won't let me drop those routes.
This plane seems to be causing me problems. It shows daily revenue, but it looks like it may be subtracting from DOP. Very confused. Any help is appreciated as to what to do with this aircraft that's in my fleet but I can use.
Update:
When I try to view the routes that this rouge aircraft has assigned to it, I receive the following PHP error message. Seems to be a bug in the code.
Warning: Division by zero in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/view_route.php on line 39
Warning: Division by zero in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/view_route.php on line 39
Warning: Division by zero in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/view_route.php on line 40
Warning: Division by zero in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/view_route.php on line 41
-
ME2, ID: 1676 Lazio Airways Limited, Aircraft ID: 5375
I have the same problems
Airlines of Japan id 4211
aircraft id 4885