Code Duplication    Length = 7-7 lines in 2 locations

require/class.Spotter.php 1 location

@@ 3097-3103 (lines=7) @@
3094
			}
3095
		}
3096
		
3097
		if ($altitude != "")
3098
		{
3099
			if (!is_numeric($altitude))
3100
			{
3101
				return false;
3102
			}
3103
		} else $altitude = 0;
3104
		
3105
		if ($heading != "")
3106
		{

require/class.SpotterLive.php 1 location

@@ 885-891 (lines=7) @@
882
			}
883
		}
884
885
		if ($altitude != '')
886
		{
887
			if (!is_numeric($altitude))
888
			{
889
				return false;
890
			}
891
		} else $altitude = 0;
892
893
		if ($heading != '')
894
		{