Code Duplication    Length = 9-9 lines in 2 locations

require/class.Spotter.php 1 location

@@ 452-460 (lines=9) @@
449
			}
450
		}
451
452
		if ($highlights == "true")
453
		{
454
			if (!is_string($highlights))
455
			{
456
				return false;
457
			} else {
458
				$additional_query .= " AND (spotter_output.highlight <> '')";
459
			}
460
		}
461
462
		if ($airline_icao != "")
463
		{

require/class.SpotterArchive.php 1 location

@@ 538-546 (lines=9) @@
535
	    }
536
	}
537
	
538
	if ($highlights == "true")
539
	{
540
	    if (!is_string($highlights))
541
	    {
542
		return false;
543
	    } else {
544
		$additional_query .= " AND (spotter_archive_output.highlight <> '')";
545
	    }
546
	}
547
	
548
	if ($airline_icao != "")
549
	{