Update Clublog.php

This commit is contained in:
Peter Goodhall
2019-10-13 18:10:23 +01:00
parent 34e0f94b66
commit 2b22b0139a

View File

@@ -187,12 +187,8 @@ class Clublog extends CI_Controller {
$response = curl_exec($request);
$info = curl_getinfo($request);
if(curl_errno($request)) {
echo curl_error($request);
}
// If Clublog Accepts mark the QSOs
if (preg_match('/\baccepted\b/', $response)) {
if (preg_match('/\bOK\b/', $response)) {
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
$this->clublog_model->mark_qso_sent($qso->COL_PRIMARY_KEY);