Code Duplication    Length = 3-3 lines in 2 locations

flightid-overview.php 2 locations

@@ 38-40 (lines=3) @@
35
	if(isset($spotter_array[0]['airline_name'])) {
36
		$title .= ' - '.$spotter_array[0]['airline_name'];
37
	}
38
	if(isset($spotter_array[0]['aircraft_name']) && $spotter_array[0]['aircraft_name'] != 'Not Available') {
39
		$title .= ' - '.$spotter_array[0]['aircraft_name'].' ('.$spotter_array[0]['aircraft_type'].')';
40
	}
41
	if(isset($spotter_array[0]['registration']) && $spotter_array[0]['registration'] != 'NA' && $spotter_array[0]['registration'] != 'N/A') {
42
		$title .= ' - '.$spotter_array[0]['registration'];
43
	}
@@ 116-118 (lines=3) @@
113
	if(isset($spotter_array[0]['airline_name'])) {
114
		print ' - '.$spotter_array[0]['airline_name'];
115
	}
116
	if(isset($spotter_array[0]['aircraft_name']) && $spotter_array[0]['aircraft_name'] != 'Not Available') {
117
		print ' - '.$spotter_array[0]['aircraft_name'].' ('.$spotter_array[0]['aircraft_type'].')';
118
	}
119
	if(isset($spotter_array[0]['registration']) && $spotter_array[0]['registration'] != 'NA') {
120
		print ' - '.$spotter_array[0]['registration'];
121
	}