Code Duplication    Length = 7-7 lines in 2 locations

require/class.Spotter.php 1 location

@@ 3067-3073 (lines=7) @@
3064
			}
3065
		}
3066
		
3067
		if ($altitude != "")
3068
		{
3069
			if (!is_numeric($altitude))
3070
			{
3071
				return false;
3072
			}
3073
		} else $altitude = 0;
3074
		
3075
		if ($heading != "")
3076
		{

require/class.SpotterLive.php 1 location

@@ 792-798 (lines=7) @@
789
			}
790
		}
791
792
		if ($altitude != '')
793
		{
794
			if (!is_numeric($altitude))
795
			{
796
				return false;
797
			}
798
		} else $altitude = 0;
799
800
		if ($heading != '')
801
		{