Testing some changes but wasn't happy with it

pull/299/head
Peter Goodhall 2019-06-17 14:29:03 +01:00
rodzic b4da6386e0
commit 7fef104c35
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -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);
}
}
}