Code Duplication    Length = 1-1 lines in 2 locations

require/class.Spotter.php 2 locations

@@ 8780-8780 (lines=1) @@
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
8783
                            //if there was no aircraft with the same callsign within the last hour and go post it into the archive
@@ 8829-8829 (lines=1) @@
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
8832
                        if($last_hour_ident == "")