Code Duplication    Length = 7-7 lines in 2 locations

require/class.Spotter.php 2 locations

@@ 8752-8758 (lines=7) @@
8749
                    {
8750
                        if (!strstr($aircraft->origin, 'L ') && !strstr($aircraft->destination, 'L '))
8751
                        {
8752
                            foreach($globalAirportIgnore as $airportIgnore)
8753
                            {
8754
                                if ($aircraft->origin == $airportIgnore || $aircraft->destination == $airportIgnore)
8755
                                {
8756
                                   $ignoreImport = true; 
8757
                                }
8758
                            }
8759
                            if ($ignoreImport == false)
8760
                            {
8761
                            $flightaware_id = $aircraft->faFlightID;
@@ 8801-8807 (lines=7) @@
8798
                    {
8799
                        foreach($globalAirportIgnore as $airportIgnore)
8800
                        {
8801
                            foreach($globalAirportIgnore as $airportIgnore)
8802
                            {
8803
                                if ($aircraft->origin == $airportIgnore || $aircraft->destination == $airportIgnore)
8804
                                {
8805
                                   $ignoreImport = true; 
8806
                                }
8807
                            }
8808
                            if ($ignoreImport == false)
8809
                            {
8810
                        $flightaware_id = $result->SearchBirdseyeInFlightResult->aircraft->faFlightID;