Code Duplication    Length = 1-1 lines in 2 locations

require/class.Spotter.php 2 locations

@@ 8779-8779 (lines=1) @@
8776
                            $last_hour_ident = $this->getIdentFromLastHour($ident);
8777
8778
                            //change the departure/arrival airport to NA if its not available
8779
                                if ($departure_airport == "" || $departure_airport == "---" || $departure_airport == "ZZZ" || $departure_airport == "ZZZZ") { $departure_airport = "NA"; }
8780
                                if ($arrival_airport == "" || $arrival_airport == "---" || $arrival_airport == "ZZZ" || $arrival_airport == "ZZZZ") { $arrival_airport = "NA"; }
8781
8782
@@ 8828-8828 (lines=1) @@
8825
                        $last_hour_ident = $this->getIdentFromLastHour($ident);
8826
8827
                        //change the departure/arrival airport to NA if its not available
8828
                                if ($departure_airport == "" || $departure_airport == "---" || $departure_airport == "ZZZ" || $departure_airport == "ZZZZ") { $departure_airport = "NA"; }
8829
                                if ($arrival_airport == "" || $arrival_airport == "---" || $arrival_airport == "ZZZ" || $arrival_airport == "ZZZZ") { $arrival_airport = "NA"; }
8830
8831
                        //if there was no aircraft with the same callsign within the last hour and go post it into the archive