mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
More functions
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user