diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index b57ea70f..d43bed4d 100755 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -376,7 +376,6 @@ class Logbook extends CI_Controller { function searchbearing($locator) { $this->load->library('Qra'); - if($locator != null) { if($this->session->userdata('user_locator') != null){ $mylocator = $this->session->userdata('user_locator'); @@ -384,8 +383,6 @@ class Logbook extends CI_Controller { $mylocator = $this->config->item('locator'); } - - $bearing = $this->qra->bearing($mylocator, $locator); echo $bearing; @@ -425,4 +422,6 @@ class Logbook extends CI_Controller { $latlng = $this->qra->qra2latlong($qra); print json_encode($latlng); } -} + + +} \ No newline at end of file