/*
* 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;
}
}
}
}
}
Print Page - 30 hours a day?
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: Danny on February 06, 2007, 12:51:14 pm
-
I previously questioned a rule of aircraft being allowed to fly 24 hrs a day. But now it seems it can even do 30 hrs a day!
9561 Boeing 767-200ER -6 355 On Lease €129,761,593
-
I've seen that too, but it only appears to happen on long hauls.
-
One of the A310HGW's I've got (10766) has been saying recently it has 63 hours available.
It also has been saying it is being used on Ft. Myers to Stansted, and whenever I close that route it adds another 24 hours.
(Any explanition?)
-
That one is very strange, I haven't a clue! :?
-
A lessor is able to "close routes" of lesse without closing them :lol:
What happens is closing route be the lessor resets hours without closing a route. It is dangerous bug that could be exploited. :twisted:
-
I remember the last time I tried to remove "sensitive" data from the aircraft page it didn't go to well! Time to revisit it though I think.