latitude) || !isset($location->longitude)){ $location->latitude = 0; $location->longitude = 0; } ?>