|
@@ 613-620 (lines=8) @@
|
| 610 |
|
$ignoreImport = true; |
| 611 |
|
} |
| 612 |
|
} |
| 613 |
|
if (count($globalAirportAccept) > 0) { |
| 614 |
|
$ignoreImport = true; |
| 615 |
|
foreach($globalAirportIgnore as $airportIgnore) { |
| 616 |
|
if (($this->all_flights[$id]['departure_airport'] == $airportIgnore) || ($this->all_flights[$id]['arrival_airport'] == $airportIgnore)) { |
| 617 |
|
$ignoreImport = false; |
| 618 |
|
} |
| 619 |
|
} |
| 620 |
|
} |
| 621 |
|
if (isset($globalAirlineIgnore) && is_array($globalAirlineIgnore)) { |
| 622 |
|
foreach($globalAirlineIgnore as $airlineIgnore) { |
| 623 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineIgnore) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineIgnore)) { |
|
@@ 746-753 (lines=8) @@
|
| 743 |
|
$ignoreImport = true; |
| 744 |
|
} |
| 745 |
|
} |
| 746 |
|
if (count($globalAirportAccept) > 0) { |
| 747 |
|
$ignoreImport = true; |
| 748 |
|
foreach($globalAirportIgnore as $airportIgnore) { |
| 749 |
|
if (($this->all_flights[$id]['departure_airport'] == $airportIgnore) || ($this->all_flights[$id]['arrival_airport'] == $airportIgnore)) { |
| 750 |
|
$ignoreImport = false; |
| 751 |
|
} |
| 752 |
|
} |
| 753 |
|
} |
| 754 |
|
if (isset($globalAirlineIgnore) && is_array($globalAirlineIgnore)) { |
| 755 |
|
foreach($globalAirlineIgnore as $airlineIgnore) { |
| 756 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineIgnore) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineIgnore)) { |