Formatting

这个提交包含在:
Peter Goodhall 2019-10-12 22:40:04 +01:00
父节点 ab35f34467
当前提交 3038034b6a
共有 2 个文件被更改,包括 1 次插入5 次删除

查看文件

@ -43,7 +43,6 @@ class Lookup extends CI_Controller {
} }
} }
// SCP results from master scp db // SCP results from master scp db
$file = 'updates/clublog_scp.txt'; $file = 'updates/clublog_scp.txt';

查看文件

@ -12,7 +12,6 @@ class Logbook_model extends CI_Model {
function create_qso() { function create_qso() {
// Join date+time // Join date+time
$datetime = date("Y-m-d",strtotime($this->input->post('start_date')))." ". $this->input->post('start_time'); $datetime = date("Y-m-d",strtotime($this->input->post('start_date')))." ". $this->input->post('start_time');
if ($this->input->post('prop_mode') != null) { if ($this->input->post('prop_mode') != null) {
$prop_mode = $this->input->post('prop_mode'); $prop_mode = $this->input->post('prop_mode');
} else { } else {
@ -971,11 +970,8 @@ class Logbook_model extends CI_Model {
$CI =& get_instance(); $CI =& get_instance();
$CI->load->library('frequency'); $CI->load->library('frequency');
// Join date+time // Join date+time
$time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_on'])); $time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_on']));
if (isset($record['time_off'])) { if (isset($record['time_off'])) {
$time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_off'])); $time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_off']));
} else { } else {
@ -1083,6 +1079,7 @@ class Logbook_model extends CI_Model {
$cq_zone = NULL; $cq_zone = NULL;
} }
if (isset($record['call'])){ if (isset($record['call'])){
$this->db->where('COL_CALL', $record['call']); $this->db->where('COL_CALL', $record['call']);
} }