Update Clublog.php

pull/355/head
Peter Goodhall 2019-09-26 13:19:37 +01:00
rodzic bd8cbd5616
commit 7f18ffcabf
1 zmienionych plików z 57 dodań i 55 usunięć

Wyświetl plik

@ -43,6 +43,7 @@ class Clublog extends CI_Controller {
if($station_row->qso_total > 0) { if($station_row->qso_total > 0) {
$data['qsos'] = $this->logbook_model->get_clublog_qsos($station_row->station_id); $data['qsos'] = $this->logbook_model->get_clublog_qsos($station_row->station_id);
if($data['qsos']->num_rows()){
$string = $this->load->view('adif/data/clublog', $data, TRUE); $string = $this->load->view('adif/data/clublog', $data, TRUE);
$ranid = uniqid(); $ranid = uniqid();
@ -102,14 +103,15 @@ class Clublog extends CI_Controller {
} else { } else {
echo "Error ".$response; echo "Error ".$response;
} }
}
}
}
}
} else { } else {
echo "Nothing awaiting upload to clublog"; echo "Nothing awaiting upload to clublog";
} }
} }
}
}
}
function markqso($station_id) { function markqso($station_id) {
$this->load->model('clublog_model'); $this->load->model('clublog_model');