pull/302/head
Peter Goodhall 2019-06-20 15:24:54 +01:00
rodzic ef2dfde183
commit 76107c72d4
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -87,9 +87,10 @@ class Clublog extends CI_Controller {
// If Clublog Accepts mark the QSOs
if (preg_match('/\baccepted\b/', $response)) {
$this->clublog_model->mark_qsos_sent();
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
$this->load->model('clublog_model');
$this->clublog_model->mark_qsos_sent();
} else {
echo $catch_error;

Wyświetl plik

@ -21,6 +21,7 @@ class Clublog_model extends CI_Model {
);
$this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", null);
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "");
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "N");
$this->db->update($this->config->item('table_name'), $data);
}