Update Clublog.php

这个提交包含在:
Peter Goodhall 2019-06-19 16:35:29 +01:00
父节点 9581049f63
当前提交 c8a3c8f302

查看文件

@ -63,19 +63,14 @@ class Clublog extends CI_Controller {
curl_setopt($request, CURLOPT_RETURNTRANSFER, true); curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($request); echo curl_exec($request);
$results = $request;
// close the session // close the session
curl_close($request); curl_close($request);
print_r($results);
// If Clublog Accepts mark the QSOs // If Clublog Accepts mark the QSOs
if (strpos($results, 'accepted') !== false) { $this->clublog_model->mark_qsos_sent();
$this->clublog_model->mark_qsos_sent();
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog"; echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";
}
} }
} }