Testing some changes but wasn't happy with it

这个提交包含在:
Peter Goodhall 2019-06-17 14:29:03 +01:00
父节点 b4da6386e0
当前提交 7fef104c35

查看文件

@ -376,7 +376,6 @@ class Logbook extends CI_Controller {
function searchbearing($locator) { function searchbearing($locator) {
$this->load->library('Qra'); $this->load->library('Qra');
if($locator != null) { if($locator != null) {
if($this->session->userdata('user_locator') != null){ if($this->session->userdata('user_locator') != null){
$mylocator = $this->session->userdata('user_locator'); $mylocator = $this->session->userdata('user_locator');
@ -384,8 +383,6 @@ class Logbook extends CI_Controller {
$mylocator = $this->config->item('locator'); $mylocator = $this->config->item('locator');
} }
$bearing = $this->qra->bearing($mylocator, $locator); $bearing = $this->qra->bearing($mylocator, $locator);
echo $bearing; echo $bearing;
@ -425,4 +422,6 @@ class Logbook extends CI_Controller {
$latlng = $this->qra->qra2latlong($qra); $latlng = $this->qra->qra2latlong($qra);
print json_encode($latlng); print json_encode($latlng);
} }
}
}